summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-05 15:03:49 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-05 15:03:49 +0000
commitf2408e7cc91708c33ceaec1e187e94b86580fd49 (patch)
tree7304b9cdcb4af1483eedcf4da779c58f32e922e0
parentf052efe12448d7ad991e90724f064346a12e3a1b (diff)
Missed one.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10095 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_services_account.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp
index 118e152e3..0b842ce7c 100644
--- a/src/modules/m_services_account.cpp
+++ b/src/modules/m_services_account.cpp
@@ -164,7 +164,7 @@ class ModuleServicesAccount : public Module
if (chan->IsExtBanned(*account, 'R'))
{
// may not join
- user->WriteNumeric(477, ""+std::string(user->nick)+" "+std::string(chan->name)+" :You may not join. this channel");
+ user->WriteNumeric(ERR_BANNEDFROMCHAN, "%s %s :Cannot join channel (You're banned)", user->nick.c_str(), c->name.c_str());
return 1;
}
}