summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-05 09:10:21 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-05 09:10:21 +0000
commit74a040e67986b6713c9905d00313ff8367ad2dc7 (patch)
tree5de5869a90a463dfcbd75eabab73bb038d4f8b87
parent14ada0cad90860d02bea16970d51fdc1f7bea3de (diff)
Fixed local compares to JOIN
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2183 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
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));