comparison src/protocols/irc/msgs.c @ 7877:828856b7fe30

[gaim-migrate @ 8531] I suppose IRC should handle 403 (no such channel) committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Sun, 14 Dec 2003 23:20:41 +0000
parents bf630f7dfdcd
children 7a6e30eb7aad
comparison
equal deleted inserted replaced
7876:59c936eead56 7877:828856b7fe30
358 358
359 irc_blist_timeout(irc); 359 irc_blist_timeout(irc);
360 irc->timer = g_timeout_add(45000, (GSourceFunc)irc_blist_timeout, (gpointer)irc); 360 irc->timer = g_timeout_add(45000, (GSourceFunc)irc_blist_timeout, (gpointer)irc);
361 } 361 }
362 362
363 void irc_msg_nochan(struct irc_conn *irc, const char *name, const char *from, char **args)
364 {
365 GaimConnection *gc = gaim_account_get_connection(irc->account);
366
367 if (gc == NULL || args == NULL || args[1] == NULL)
368 return;
369
370 gaim_notify_error(gc, NULL, _("No such channel"), args[1]);
371 }
372
363 void irc_msg_nonick(struct irc_conn *irc, const char *name, const char *from, char **args) 373 void irc_msg_nonick(struct irc_conn *irc, const char *name, const char *from, char **args)
364 { 374 {
365 GaimConnection *gc; 375 GaimConnection *gc;
366 GaimConversation *convo; 376 GaimConversation *convo;
367 377