From 303877d781f7140be68d730f78b9e478354ce4df Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 26 Feb 2006 12:44:55 +0000 Subject: Whoops, overriding EVERY command! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3338 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_operwho.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3