summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_antibear.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_antibear.cpp b/src/modules/m_antibear.cpp
index ee595a767..ea4dcc611 100644
--- a/src/modules/m_antibear.cpp
+++ b/src/modules/m_antibear.cpp
@@ -51,7 +51,7 @@ class ModuleAntiBear : public Module
virtual void OnUserConnect(userrec* user)
{
- WriteServ(user,"439 %s :This server has anti-spambot mechanisms enabled.", user->nick);
+ WriteServ(user->fd,"439 %s :This server has anti-spambot mechanisms enabled.", user->nick);
}
};