From 550847ca58d01b70e622680e5b6592d9b6537fa7 Mon Sep 17 00:00:00 2001 From: Akari Date: Mon, 7 Feb 2011 18:30:26 +0200 Subject: [PATCH] fixed bug with empty irc_watched_channels --- irc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/irc.c b/irc.c index 4e411dea..3968dfd8 100755 --- a/irc.c +++ b/irc.c @@ -698,6 +698,9 @@ qboolean Irc_IsWatchedChannel(const char* chan) int start, idx, len; char buffer[512]; + if(NOTSET(irc_watched_channels)) + return FALSE; + len = strlen(irc_watched_channels.string); start = 0; -- 2.39.2