summaryrefslogtreecommitdiff
path: root/src/modules/m_operwho.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-26 12:35:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-26 12:35:25 +0000
commit48637fb5f5f91c8dc3f072f0161879e67e81a302 (patch)
tree01aa9f39cc733ed23f6001e30139ad2f92d996a0 /src/modules/m_operwho.cpp
parent3b7bc208c576f2c596932eb62b9e5d6b534fca69 (diff)
Missing include
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3335 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_operwho.cpp')
-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;