From: Akari Date: Mon, 7 Feb 2011 16:30:26 +0000 (+0200) Subject: fixed bug with empty irc_watched_channels X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=550847ca58d01b70e622680e5b6592d9b6537fa7;p=xonotic%2Fdarkplaces.git fixed bug with empty irc_watched_channels --- 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;