diff src/toc.c @ 1208:66a70fbb2b09

[gaim-migrate @ 1218] note to self: copy'n'paste is evil. even when it's your own code. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 05 Dec 2000 23:37:45 +0000
parents bab9f3dc07f8
children cedf7047081e
line wrap: on
line diff
--- a/src/toc.c	Tue Dec 05 17:46:44 2000 +0000
+++ b/src/toc.c	Tue Dec 05 23:37:45 2000 +0000
@@ -47,7 +47,7 @@
 #include "pixmaps/dt_icon.xpm"
 #include "pixmaps/free_icon.xpm"
 
-#define REVISION "gaim:$Revision: 1192 $"
+#define REVISION "gaim:$Revision: 1218 $"
 
 #define TYPE_SIGNON    1
 #define TYPE_DATA      2
@@ -1156,7 +1156,7 @@
 static void toc_add_deny(struct gaim_connection *gc, char *who) {
 	char buf2[MSG_LEN];
 	if (gc->permdeny != 4) return;
-	g_snprintf(buf2, sizeof(buf2), "toc_add_permit %s", normalize(who));
+	g_snprintf(buf2, sizeof(buf2), "toc_add_deny %s", normalize(who));
 	sflap_send(gc, buf2, -1, TYPE_DATA);
 }
 
@@ -1257,7 +1257,7 @@
         ret->add_permit = toc_add_permit;
         ret->add_deny = toc_add_deny;
 	ret->rem_permit = toc_rem_permit;
-	ret->rem_deny = toc_add_deny;
+	ret->rem_deny = toc_rem_deny;
 	ret->set_permit_deny = toc_set_permit_deny;
         ret->warn = toc_warn;
         ret->accept_chat = toc_accept_chat;