Mercurial > pidgin
changeset 4509:cf2f5a1f1e46
[gaim-migrate @ 4785]
Added support for numeric 320 (used on freenode to determine if a person is
identified to services). Thanks misato/Jason/ayanami!
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 02 Feb 2003 07:51:54 +0000 |
parents | 4c40fccbd7c9 |
children | 4c394222c732 |
files | src/protocols/irc/irc.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/irc/irc.c Sun Feb 02 07:43:27 2003 +0000 +++ b/src/protocols/irc/irc.c Sun Feb 02 07:51:54 2003 +0000 @@ -947,6 +947,12 @@ case 319: id->liststr = g_string_append(id->liststr, "<b>Channels: </b>"); break; + /* Numeric 320 is used by the freenode irc network for showing + * that a user is identified to services (Jason Straw <misato@wopn.org>)*/ + case 320: + g_snprintf(tmp, sizeof(tmp), "%s is an Identified User", word[4]); + id->liststr = g_string_append(id->liststr, tmp); + return; default: break; } @@ -1034,6 +1040,7 @@ case 314: /* RPL_WHOWASUSER */ case 317: /* RPL_WHOISIDLE */ case 319: /* RPL_WHOISCHANNELS */ + case 320: /* FreeNode Identified */ handle_whois(gc, word, word_eol, n); break; case 322: /* RPL_LIST */