From b7657baf0e5bb7d6eb560880048bd440a753ae14 Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Mon, 23 Aug 2010 13:17:40 +0200 Subject: [PATCH] syntax error as detected by alice --- world/net/irc/gatebot.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/world/net/irc/gatebot.c b/world/net/irc/gatebot.c index 456d596..91b5a6d 100644 --- a/world/net/irc/gatebot.c +++ b/world/net/irc/gatebot.c @@ -405,11 +405,10 @@ case RPL_NAMREPLY: case "join": unless (rcpt) rcpt = text; // historic syntax bug in JOIN if (rcpt && stricmp(rcpt, qChatChannel())) { - P0(("%O got autojoined into %O\n", ME, rcpt)) - emit("PART #"+rcpt+ - " :looks like I was autojoined here\n"); - break; - } + P0(("%O got autojoined into %O\n", ME, rcpt)) + emit("PART #"+rcpt+ + " :looks like I was autojoined here\n"); + break; } else rcpt = 0; // fall thru case "quit": // IRC QUIT is broken really