summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-08 04:18:19 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-08 04:18:19 +0000
commit0f1a53b1e11005945b5f3c97b19189fd9b210db7 (patch)
treea3fff74e7cbdb1c49c2dfa630a4745e5c9d82098 /src
parent2cf348bf6bf64353350fb7df163cf0b9ecd95a13 (diff)
Fixed to use numeric 340-
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1328 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_userip.cpp4
1 files changed, 2 insertions, 2 deletions
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()