]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_blockcaps.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_blockcaps.cpp
index 167a12bec07722eab197892a9a9438cccda94772..ec5f901e1d0e554f451ac60ad65b791f80c09a0f 100644 (file)
@@ -58,7 +58,7 @@ public:
        {
                OnRehash(NULL,"");
                bc = new BlockCaps(ServerInstance);
-               if (!ServerInstance->AddMode(bc, 'P'))
+               if (!ServerInstance->AddMode(bc))
                        throw ModuleException("Could not add new modes!");
        }