diff options
Diffstat (limited to 'src/modules/m_cgiirc.cpp')
-rw-r--r-- | src/modules/m_cgiirc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index ec2ac6129..092677bd2 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -196,7 +196,7 @@ public: } - virtual void OnUserRegister(userrec* user) + virtual int OnUserRegister(userrec* user) { ServerInstance->Log(DEBUG, "m_cgiirc.so: User %s registering, %s %s", user->nick,user->host,user->GetIPString()); @@ -227,10 +227,10 @@ public: // If the ident lookup fails, try the password. CheckPass(user); } - - return; + return 0; } } + return 0; } bool CheckPass(userrec* user) |