]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_inviteexception.cpp
Theres no need to check the address of a stack declared array for NULL, thanks darix
[user/henk/code/inspircd.git] / src / modules / m_inviteexception.cpp
index 7e126799544d78a0704f9a6c85554f338a1d1d95..0450760d717cf458c6ffc8ab70893fdd6a5b9555 100644 (file)
@@ -44,7 +44,7 @@ public:
        ModuleInviteException(InspIRCd* Me) : Module(Me)
        {
                ie = new InviteException(ServerInstance);
-               if (!ServerInstance->AddMode(ie, 'I'))
+               if (!ServerInstance->AddMode(ie))
                        throw ModuleException("Could not add new modes!");
                ServerInstance->Modules->PublishInterface("ChannelBanList", this);
        }