]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_antibear.cpp
Move Blocking/NonBlocking to socket.cpp and make inline
[user/henk/code/inspircd.git] / src / modules / m_antibear.cpp
index 5d5b818f7204d98cfe81781330399feea4bdc55e..d43db5292fc6d215321b22a951a53d67bc793bf1 100644 (file)
@@ -50,8 +50,8 @@ class ModuleAntiBear : public Module
        
        virtual void OnUserRegister(userrec* user)
        {
-               WriteServ(user->fd,"439 %s :This server has anti-spambot mechanisms enabled.", user->nick);
-               WriteServ(user->fd,"931 %s :Malicious bots, spammers, and other automated systems of dubious origin are NOT welcome here.", user->nick);
+               user->WriteServ("439 %s :This server has anti-spambot mechanisms enabled.", user->nick);
+               user->WriteServ("931 %s :Malicious bots, spammers, and other automated systems of dubious origin are NOT welcome here.", user->nick);
        }
 };