summaryrefslogtreecommitdiff
path: root/src/modules/m_showwhois.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-21 20:32:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-21 20:32:53 +0000
commit6eed6994058c437d57e79b966216578bb127e831 (patch)
tree92fc8177703423ab8c8b358021371f232b953907 /src/modules/m_showwhois.cpp
parent60cf1194a5761e3e69482f0e64713e6c2adfb6ed (diff)
Mode +W should be user mode, not channel mode (oops!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5509 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_showwhois.cpp')
-rw-r--r--src/modules/m_showwhois.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_showwhois.cpp b/src/modules/m_showwhois.cpp
index 01c146e5c..4233e7ad4 100644
--- a/src/modules/m_showwhois.cpp
+++ b/src/modules/m_showwhois.cpp
@@ -15,7 +15,7 @@ using namespace std;
class SeeWhois : public ModeHandler
{
public:
- SeeWhois(InspIRCd* Instance) : ModeHandler(Instance, 'W', 0, 0, false, MODETYPE_CHANNEL, false) { }
+ SeeWhois(InspIRCd* Instance) : ModeHandler(Instance, 'W', 0, 0, false, MODETYPE_USER, false) { }
ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding)
{