diff options
-rw-r--r-- | src/inspircd.cpp | 2 |
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)); |