summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-03-10 15:12:13 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-03-10 15:12:13 +0000
commitee8229be487df091882166d4c6a64d13caf02f4a (patch)
tree3c428d0fd9d5169928d164d5a5214e0fc4943e08 /src
parenta868bbe1246ae623d9f12570c65c870e7256ad5c (diff)
downloadirssi-ee8229be487df091882166d4c6a64d13caf02f4a.zip
/CYCLE tried to do /PART twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2555 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/fe-channels.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-common/core/fe-channels.c b/src/fe-common/core/fe-channels.c
index bfd8e800..01b8aced 100644
--- a/src/fe-common/core/fe-channels.c
+++ b/src/fe-common/core/fe-channels.c
@@ -589,6 +589,7 @@ static void cmd_cycle(const char *data, SERVER_REC *server, WI_ITEM_REC *item)
/* FIXME: kludgy kludgy... and it relies on channel not
being destroyed immediately.. */
signal_emit("command part", 3, data, server, item);
+ chanrec->left = TRUE;
channel_destroy(chanrec);
server->channels_join(server, joindata, FALSE);