]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_auditorium.cpp
Fix a number of commands to have max_params field. This means in practice, that colon...
[user/henk/code/inspircd.git] / src / modules / m_auditorium.cpp
index f898c19c94d98b616219eb4acc7f85e995870dca..f928b35123ec1a20f374ab47746bce088eed8de7 100644 (file)
@@ -63,8 +63,8 @@ class ModuleAuditorium : public Module
 
                OnRehash(NULL, "");
 
-               Implementation eventlist[] = { I_OnUserJoin, I_OnUserPart, I_OnUserKick, I_OnUserQuit, I_OnNamesListItem, I_OnRehash };
-               Me->Modules->Attach(eventlist, this, 6);
+               Implementation eventlist[] = { I_OnUserJoin, I_OnUserPart, I_OnUserKick, I_OnUserQuit, I_OnNamesListItem, I_OnRehash, I_OnHostCycle };
+               Me->Modules->Attach(eventlist, this, 7);
 
        }
 
@@ -96,7 +96,7 @@ class ModuleAuditorium : public Module
                        return;
 
                /* If user is oper and operoverride is on, don't touch the list */
-               if (OperOverride && IS_OPER(user))
+               if (OperOverride && user->HasPrivPermission("channels/auspex"))
                        return;
 
                if (ShowOps && (issuer != user) && (channel->GetStatus(user) < STATUS_OP))