comparison src/protocols/toc/toc.c @ 2597:2ced57c58653

[gaim-migrate @ 2610] you're the one that i want (you're the one i wa-ant) oo oo oo you're all i need oh yes indeed committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 24 Oct 2001 10:23:49 +0000
parents 34812d648f72
children 37d80035e77f
comparison
equal deleted inserted replaced
2596:35c23df11d16 2597:2ced57c58653
1235 if (gc->permdeny != 3) 1235 if (gc->permdeny != 3)
1236 return; 1236 return;
1237 g_snprintf(buf2, sizeof(buf2), "toc_add_permit %s", normalize(who)); 1237 g_snprintf(buf2, sizeof(buf2), "toc_add_permit %s", normalize(who));
1238 sflap_send(gc, buf2, -1, TYPE_DATA); 1238 sflap_send(gc, buf2, -1, TYPE_DATA);
1239 toc_set_config(gc); 1239 toc_set_config(gc);
1240 signoff_blocked(gc);
1240 } 1241 }
1241 1242
1242 static void toc_add_deny(struct gaim_connection *gc, char *who) 1243 static void toc_add_deny(struct gaim_connection *gc, char *who)
1243 { 1244 {
1244 char buf2[BUF_LEN * 2]; 1245 char buf2[BUF_LEN * 2];
1245 if (gc->permdeny != 4) 1246 if (gc->permdeny != 4)
1246 return; 1247 return;
1247 g_snprintf(buf2, sizeof(buf2), "toc_add_deny %s", normalize(who)); 1248 g_snprintf(buf2, sizeof(buf2), "toc_add_deny %s", normalize(who));
1248 sflap_send(gc, buf2, -1, TYPE_DATA); 1249 sflap_send(gc, buf2, -1, TYPE_DATA);
1249 toc_set_config(gc); 1250 toc_set_config(gc);
1251 signoff_blocked(gc);
1250 } 1252 }
1251 1253
1252 static void toc_set_permit_deny(struct gaim_connection *gc) 1254 static void toc_set_permit_deny(struct gaim_connection *gc)
1253 { 1255 {
1254 char buf2[BUF_LEN * 2]; 1256 char buf2[BUF_LEN * 2];
1310 break; 1312 break;
1311 default: 1313 default:
1312 break; 1314 break;
1313 } 1315 }
1314 toc_set_config(gc); 1316 toc_set_config(gc);
1317 signoff_blocked(gc);
1315 } 1318 }
1316 1319
1317 static void toc_rem_permit(struct gaim_connection *gc, char *who) 1320 static void toc_rem_permit(struct gaim_connection *gc, char *who)
1318 { 1321 {
1319 if (gc->permdeny != 3) 1322 if (gc->permdeny != 3)