comparison src/protocols/irc/irc.c @ 2459:a25223b2c29b

[gaim-migrate @ 2472] nolog committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 09 Oct 2001 19:15:13 +0000
parents 1b994d4bb1c3
children f8eb5f120603
comparison
equal deleted inserted replaced
2458:8208e2016d9b 2459:a25223b2c29b
1204 return -EINVAL; 1204 return -EINVAL;
1205 write_to_conv(c, "<B>Currently supported commands:<BR>" 1205 write_to_conv(c, "<B>Currently supported commands:<BR>"
1206 "JOIN PART TOPIC<BR>" 1206 "JOIN PART TOPIC<BR>"
1207 "OP DEOP VOICE DEVOICE KICK<BR>" 1207 "OP DEOP VOICE DEVOICE KICK<BR>"
1208 "NICK ME MSG QUOTE SAY</B>", 1208 "NICK ME MSG QUOTE SAY</B>",
1209 WFLAG_SYSTEM, NULL, time(NULL)); 1209 WFLAG_NOLOG, NULL, time(NULL));
1210 } else { 1210 } else {
1211 struct conversation *c = NULL; 1211 struct conversation *c = NULL;
1212 if (is_channel(gc, who)) { 1212 if (is_channel(gc, who)) {
1213 c = irc_find_chat(gc, who); 1213 c = irc_find_chat(gc, who);
1214 } else { 1214 } else {
1215 c = find_conversation(who); 1215 c = find_conversation(who);
1216 } 1216 }
1217 if (!c) 1217 if (!c)
1218 return -EINVAL; 1218 return -EINVAL;
1219 write_to_conv(c, "<B>Unknown command</B>", WFLAG_SYSTEM, NULL, time(NULL)); 1219 write_to_conv(c, "<B>Unknown command</B>", WFLAG_NOLOG, NULL, time(NULL));
1220 } 1220 }
1221 1221
1222 return 0; 1222 return 0;
1223 } 1223 }
1224 1224