summaryrefslogtreecommitdiff
path: root/src/modules/m_antibear.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_antibear.cpp')
-rw-r--r--src/modules/m_antibear.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_antibear.cpp b/src/modules/m_antibear.cpp
index 5d5b818f7..d43db5292 100644
--- a/src/modules/m_antibear.cpp
+++ b/src/modules/m_antibear.cpp
@@ -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);
}
};