1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

added small sanity check

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@807 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-11-04 18:56:14 +00:00 committed by cras
parent cbcf1b07bc
commit 745a3e2104

View File

@ -27,7 +27,7 @@
#include "irc-channels.h"
#include "channel-rejoin.h"
#define REJOIN_TIMEOUT (1000*60*5) /* try to rejoin every 5 minutes */
#define REJOIN_TIMEOUT (1000*60/**5*/) /* try to rejoin every 5 minutes */
static int rejoin_tag;
@ -75,6 +75,7 @@ static void channel_rejoin(IRC_SERVER_REC *server, const char *channel)
g_return_if_fail(channel != NULL);
chanrec = irc_channel_find(server, channel);
if (chanrec == NULL || chanrec->joined) return;
rec = rejoin_find(server, channel);
if (rec != NULL) {