comparison src/protocols/irc/msgs.c @ 10712:b41c48d890d8

[gaim-migrate @ 12306] sf patch #1153243, from Richard Laager Implement IRC Response #437, "Nick or channel is temporarily unavailable." committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 21 Mar 2005 03:37:59 +0000
parents 861ae6ee7b6c
children e84b1ef01905
comparison
equal deleted inserted replaced
10711:00483ba950bf 10712:b41c48d890d8
975 g_free(data[0]); 975 g_free(data[0]);
976 976
977 return; 977 return;
978 } 978 }
979 979
980 void irc_msg_unavailable(struct irc_conn *irc, const char *name, const char *from, char **args)
981 {
982 GaimConnection *gc = gaim_account_get_connection(irc->account);
983
984 if (!args || !args[1])
985 return;
986
987 gaim_notify_error(gc, NULL, _("Nick or channel is temporarily unavailable."), args[1]);
988 }
989
980 void irc_msg_wallops(struct irc_conn *irc, const char *name, const char *from, char **args) 990 void irc_msg_wallops(struct irc_conn *irc, const char *name, const char *from, char **args)
981 { 991 {
982 GaimConnection *gc = gaim_account_get_connection(irc->account); 992 GaimConnection *gc = gaim_account_get_connection(irc->account);
983 char *nick, *msg, *wallop; 993 char *nick, *msg, *wallop;
984 994