changeset 2649:f857ae4ddd84

[gaim-migrate @ 2662] I missed this one... committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Thu, 01 Nov 2001 06:42:51 +0000
parents 4036f6d47737
children 0425dbe29272
files src/protocols/irc/irc.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/irc/irc.c	Thu Nov 01 06:39:59 2001 +0000
+++ b/src/protocols/irc/irc.c	Thu Nov 01 06:42:51 2001 +0000
@@ -614,8 +614,12 @@
 		break;
 	case 301:
 		if (id->in_whois) {
-			id->whois_str = g_string_append(id->whois_str, "<BR><BR>");
-			id->whois_str = g_string_append(id->whois_str, word_eol[4]);
+			id->whois_str = g_string_append(id->whois_str, "<BR><b>Away: </b>");
+
+			if (word_eol[5][0] == ':')
+				id->whois_str = g_string_append(id->whois_str, word_eol[5]+1);
+			else
+				id->whois_str = g_string_append(id->whois_str, word_eol[5]);
 		} else
 			irc_got_im(gc, word[4], word_eol[5], IM_FLAG_AWAY, time(NULL));
 		break;