Mercurial > pidgin.yaz
diff src/protocols/irc/irc.c @ 9741:b10d4c6ac7eb
[gaim-migrate @ 10606]
(20:26:58) KingAnt: LSchiere: Can you revert it and I'll post some
suggestions to the patch in the tracker?
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 12 Aug 2004 00:26:28 +0000 |
parents | 2bb5e2cd64bd |
children | 4a8bf81b82ae |
line wrap: on
line diff
--- a/src/protocols/irc/irc.c Wed Aug 11 23:52:48 2004 +0000 +++ b/src/protocols/irc/irc.c Thu Aug 12 00:26:28 2004 +0000 @@ -33,7 +33,6 @@ #include "prpl.h" #include "plugin.h" #include "util.h" -#include "privacy.h" #include "irc.h" @@ -332,35 +331,6 @@ irc_cmd_whois(irc, "whois", NULL, args); } -static void irc_add_deny(GaimConnection *gc, const char *who) -{ - gaim_privacy_deny_add(gc->account,who,1); -} - -static void irc_rem_deny(GaimConnection *gc, const char *who) -{ - gaim_privacy_deny_remove(gc->account,who,1); -} - -static void -irc_add_permit(GaimConnection *gc, const char *who) -{ - gaim_privacy_permit_add(gc->account,who,1); -} - -static void -irc_rem_permit(GaimConnection *gc, const char *who) -{ - gaim_privacy_permit_remove(gc->account,who,1); -} - -static void -irc_set_permit_deny(GaimConnection *gc) -{ - /* This only has to exist */ - return; -} - static void irc_set_away(GaimConnection *gc, const char *state, const char *msg) { struct irc_conn *irc = gc->proto_data; @@ -622,11 +592,11 @@ NULL, /* add_buddies */ irc_remove_buddy, /* remove_buddy */ NULL, /* remove_buddies */ - irc_add_permit, /* add_permit */ - irc_add_deny, /* add_deny */ - irc_rem_permit, /* rem_permit */ - irc_rem_deny, /* rem_deny */ - irc_set_permit_deny, /* set_permit_deny */ + NULL, /* add_permit */ + NULL, /* add_deny */ + NULL, /* rem_permit */ + NULL, /* rem_deny */ + NULL, /* set_permit_deny */ NULL, /* warn */ irc_chat_join, /* join_chat */ NULL, /* reject_chat */