Mercurial > pidgin
comparison libpurple/protocols/irc/cmds.c @ 15455:79f25bbe69bf
This makes IRC /names handling generally more robust, as well as
properly dealing with the case where the user runs /quote names #chan
and we don't know about it. I thought things were already handled in
this fashion, but obviously they were not.
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Sun, 28 Jan 2007 21:48:58 +0000 |
parents | 5fe8042783c1 |
children | 32c366eeeb99 |
comparison
equal
deleted
inserted
replaced
15453:c68f2808f703 | 15455:79f25bbe69bf |
---|---|
243 | 243 |
244 buf = irc_format(irc, "vc", "NAMES", args[0] ? args[0] : target); | 244 buf = irc_format(irc, "vc", "NAMES", args[0] ? args[0] : target); |
245 irc_send(irc, buf); | 245 irc_send(irc, buf); |
246 g_free(buf); | 246 g_free(buf); |
247 | 247 |
248 irc->nameconv = g_strdup(target); | |
249 | |
250 return 0; | 248 return 0; |
251 } | 249 } |
252 | 250 |
253 int irc_cmd_nick(struct irc_conn *irc, const char *cmd, const char *target, const char **args) | 251 int irc_cmd_nick(struct irc_conn *irc, const char *cmd, const char *target, const char **args) |
254 { | 252 { |