From 74a040e67986b6713c9905d00313ff8367ad2dc7 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 5 Dec 2005 09:10:21 +0000 Subject: Fixed local compares to JOIN git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2183 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index fcc91037b..e3425c053 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -571,7 +571,7 @@ chanrec* add_channel(userrec *user, const char* cn, const char* key, bool overri if (!FindChan(cname)) { - if (strcmp(ServerName,u->server)) + if (!strcasecmp(ServerName,user->server)) { MOD_RESULT = 0; FOREACH_RESULT(OnUserPreJoin(user,NULL,cname)); -- cgit v1.2.3