summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_operwho.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/modules/m_operwho.cpp b/src/modules/m_operwho.cpp
index 15ff74c6d..5fbd87a28 100644
--- a/src/modules/m_operwho.cpp
+++ b/src/modules/m_operwho.cpp
@@ -16,11 +16,6 @@
using namespace std;
-/*
- * DEVOICE module for InspIRCd
- * Syntax: /DEVOICE <#chan>
- */
-
/* $ModDesc: Provides an extended version of /WHO for opers */
#include "inspircd_config.h"
@@ -41,6 +36,7 @@ using namespace std;
#include "globals.h"
#include "modules.h"
#include "helperfuncs.h"
+#include "message.h"
#include "hashcomp.h"
#include "typedefs.h"
@@ -97,7 +93,6 @@ class ModuleOperWho : public Module
{
if ((user->chans.size()) && (user->chans[0].channel))
{
- int n_list = 0;
for (user_hash::const_iterator i = clientlist.begin(); i != clientlist.end(); i++)
{
Ptr = i->second->chans[0].channel;