From 0f1a53b1e11005945b5f3c97b19189fd9b210db7 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 8 May 2005 04:18:19 +0000 Subject: Fixed to use numeric 340- git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1328 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_userip.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp index 4bc215514..3fc65f319 100644 --- a/src/modules/m_userip.cpp +++ b/src/modules/m_userip.cpp @@ -27,7 +27,7 @@ Server *Srv; void handle_userip(char **parameters, int pcnt, userrec *user) { char Return[MAXBUF],junk[MAXBUF]; - snprintf(Return,MAXBUF,"302 %s :",user->nick); + snprintf(Return,MAXBUF,"340 %s :",user->nick); for (int i = 0; i < pcnt; i++) { userrec *u = Find(parameters[i]); @@ -47,7 +47,7 @@ class ModuleUserIP : public Module ModuleUserIP() { Srv = new Server; - Srv->AddCommand("USERIP",handle_UserIP,'o',1,"m_Userip.so"); + Srv->AddCommand("USERIP",handle_userip,'o',1,"m_Userip.so"); } virtual ~ModuleUserIP() -- cgit v1.2.3