summaryrefslogtreecommitdiff
path: root/src/modules/m_antibear.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-18 23:25:41 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-18 23:25:41 +0000
commit6f8972c518efe0f7485126289f8fcbe15b979567 (patch)
tree31a62087d10562afc23787e690055b8637ffb73a /src/modules/m_antibear.cpp
parent4b856bda135a08e800b96c970a10b0b6a34d433a (diff)
Fix two
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9749 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_antibear.cpp')
-rw-r--r--src/modules/m_antibear.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_antibear.cpp b/src/modules/m_antibear.cpp
index 874ff43da..633b1e332 100644
--- a/src/modules/m_antibear.cpp
+++ b/src/modules/m_antibear.cpp
@@ -65,9 +65,9 @@ class ModuleAntiBear : public Module
virtual int OnUserRegister(User* user)
{
- user->WriteNumeric(439, "%s :This server has anti-spambot mechanisms enabled.", user->nick);
- user->WriteNumeric(931, "%s :Malicious bots, spammers, and other automated systems of dubious origin are NOT welcome here.", user->nick);
- user->WriteServ("PRIVMSG %s :\1TIME\1", user->nick);
+ user->WriteNumeric(439, "%s :This server has anti-spambot mechanisms enabled.", user->nick.c_str());
+ user->WriteNumeric(931, "%s :Malicious bots, spammers, and other automated systems of dubious origin are NOT welcome here.", user->nick.c_str());
+ user->WriteServ("PRIVMSG %s :\1TIME\1", user->nick.c_str());
user->Extend("antibear_timewait");
return 0;
}