summaryrefslogtreecommitdiff
path: root/src/modules/m_operwho.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-26 12:44:55 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-26 12:44:55 +0000
commit303877d781f7140be68d730f78b9e478354ce4df (patch)
tree0bf4baaf5808d4d258e2a9da5b6d337819aea917 /src/modules/m_operwho.cpp
parentcd24c03c3429285234f9721575bc05e4c96153cc (diff)
Whoops, overriding EVERY command!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3338 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_operwho.cpp')
-rw-r--r--src/modules/m_operwho.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_operwho.cpp b/src/modules/m_operwho.cpp
index 7842fd08f..e4dbf3235 100644
--- a/src/modules/m_operwho.cpp
+++ b/src/modules/m_operwho.cpp
@@ -64,7 +64,7 @@ class ModuleOperWho : public Module
virtual int OnPreCommand(std::string command, char **parameters, int pcnt, userrec *user, bool validated)
{
- if (!*user->oper)
+ if ((!*user->oper) || (command != "WHO"))
return 0;
chanrec* Ptr = NULL;