1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 15:23:13 +02:00

Adds check for using commands on non-registered channels before the

commands are called


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2336 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
adam-
2009-06-23 16:56:38 +00:00
parent 59c1a509b4
commit dc8f7923f4
39 changed files with 107 additions and 190 deletions
+1 -1
View File
@@ -899,7 +899,7 @@ class UnrealIRCdProto : public IRCDProto
int IsChannelValid(const char *chan)
{
if (strchr(chan, ':')) return 0;
if (strchr(chan, ':') || *chan != '#') return 0;
return 1;
}