summaryrefslogtreecommitdiff
path: root/src/modules/m_antibear.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-15 17:21:46 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-15 17:21:46 +0000
commit99c2964bca779f2bae8d6e9e04d4d31ca37ea1e1 (patch)
tree114c749bd4279b387ebadab7cb4c378f78aecde6 /src/modules/m_antibear.cpp
parent1fd0e61944987efc4c65a50b3e61ddd01d66378e (diff)
Pass int not userrec
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3721 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_antibear.cpp')
-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);
}
};