]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_invisible.cpp
PROPAGATE this fix
[user/henk/code/inspircd.git] / src / modules / m_invisible.cpp
index e8d9127b2944ea34883b322c8aa8f2cbb215eebe..a0a2388f010697d17e075de256229fadb1aa60a4 100644 (file)
@@ -81,7 +81,7 @@ class InvisibleMode : public ModeHandler
                        dest->SetMode('Q', adding);
 
                        /* Fix for bug #379 reported by stealth. On +/-Q make m_watch think the user has signed on/off */
-                       Module* m = ServerInstance->FindModule("m_watch.so");
+                       Module* m = ServerInstance->Modules->Find("m_watch.so");
 
                        /* This must come before setting/unsetting the handler */
                        if (m && adding)