From 261f37846c68ae03e709726a6ed3fac02360300f Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 8 May 2005 04:26:22 +0000 Subject: Added USERIP numeric 005 output git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1329 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_userip.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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() { -- cgit v1.2.3