X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_nopartmsg.cpp;h=50a6e14b9bc68097dabdf6caa62775bc12c92148;hb=8be88f3e732e7a40f2e501c5e5b78c7f1b999f2d;hp=1576fdc01e7114d56ae7e9f90f139f2b9d0e56cf;hpb=33956298d3f3ad45395263eeff0ec4d132cf3c46;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_nopartmsg.cpp b/src/modules/m_nopartmsg.cpp index 1576fdc01..50a6e14b9 100644 --- a/src/modules/m_nopartmsg.cpp +++ b/src/modules/m_nopartmsg.cpp @@ -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. @@ -31,7 +31,7 @@ class ModulePartMsgBan : public Module virtual Version GetVersion() { - return Version("$Id$", VF_VENDOR, API_VERSION); + return Version("$Id$", VF_COMMON|VF_VENDOR, API_VERSION); } @@ -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;