mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@740 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
6a3efe49ab
commit
ad97695841
@ -27,8 +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*10) /* FIXME: test */
|
||||
#define REJOIN_TIMEOUT (1000*60*5) /* try to rejoin every 5 minutes */
|
||||
|
||||
static int rejoin_tag;
|
||||
|
||||
@ -122,7 +121,7 @@ static void sig_remove_rejoin(IRC_CHANNEL_REC *channel)
|
||||
{
|
||||
REJOIN_REC *rec;
|
||||
|
||||
if (!IS_IRC_CHANNEL(channel) && channel->server != NULL)
|
||||
if (!IS_IRC_CHANNEL(channel) || channel->server == NULL)
|
||||
return;
|
||||
|
||||
rec = rejoin_find(channel->server, channel->name);
|
||||
|
Loading…
Reference in New Issue
Block a user