summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-08 04:26:22 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-08 04:26:22 +0000
commit261f37846c68ae03e709726a6ed3fac02360300f (patch)
tree46bbe724c3f3013107aee803d4cc5b6e4def375b /src/modules
parent0f1a53b1e11005945b5f3c97b19189fd9b210db7 (diff)
Added USERIP numeric 005 output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1329 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_userip.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp
index 3fc65f319..be0f07699 100644
--- a/src/modules/m_userip.cpp
+++ b/src/modules/m_userip.cpp
@@ -49,6 +49,11 @@ class ModuleUserIP : public Module
Srv = new Server;
Srv->AddCommand("USERIP",handle_userip,'o',1,"m_Userip.so");
}
+
+ virtual void On005Numeric(std::string &output)
+ {
+ output = output + std::string(" USERIP");
+ }
virtual ~ModuleUserIP()
{