]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nopartmsg.cpp
Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtree
[user/henk/code/inspircd.git] / src / modules / m_nopartmsg.cpp
index afa44900d17ed9fbdc6704c25e706ae37c63ab12..50a6e14b9bc68097dabdf6caa62775bc12c92148 100644 (file)
@@ -3,7 +3,7 @@
  *       +------------------------------------+
  *
  *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
@@ -40,7 +40,7 @@ class ModulePartMsgBan : public Module
                if (!IS_LOCAL(user))
                        return;
 
-               if (channel->IsExtBanned(user, 'p'))
+               if (channel->GetExtBanStatus(user, 'p') < 0)
                        partmessage = "";
 
                return;