From 99c2964bca779f2bae8d6e9e04d4d31ca37ea1e1 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 15 Mar 2006 17:21:46 +0000 Subject: Pass int not userrec git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3721 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_antibear.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }; -- cgit v1.2.3