]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_blockcaps.cpp
Should now work with ports bound to all interfaces
[user/henk/code/inspircd.git] / src / modules / m_blockcaps.cpp
index bcbc82cac5a814f74306d86fe52bcd5a62e59177..c229ef7529350a2000e79b06352489469e047f02 100644 (file)
@@ -82,6 +82,11 @@ public:
 
                        Channel* c = (Channel*)dest;
 
+                       if (CHANOPS_EXEMPT(ServerInstance, 'B') && c->GetStatus(user) == STATUS_OP)
+                       {
+                               return 0;
+                       }
+
                        if (c->IsModeSet('B'))
                        {
                                int caps = 0;
@@ -133,7 +138,7 @@ public:
 
        virtual Version GetVersion()
        {
-               return Version(1,1,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+               return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
        }
 };