summaryrefslogtreecommitdiff
path: root/src/messages.c
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-10 12:26:09 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-10 12:26:09 +0000
commit1fd0249076b85eef80a41a30b57cc47bc2a2ded2 (patch)
treed66b3c52395097d3ac99ad08be0ece9fa0fb4ecc /src/messages.c
parente7a6661baa7ff8bffce9e18a45d5ea4a521347e1 (diff)
NS_VERBOTEN -> NS_FORBIDDEN, CS_VERBOTEN -> CS_FORBIDDEN, etc.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1973 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/messages.c')
-rw-r--r--src/messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.c b/src/messages.c
index 55b4fa283..83f1dd338 100644
--- a/src/messages.c
+++ b/src/messages.c
@@ -131,7 +131,7 @@ int m_privmsg(const char *source, const char *receiver, const char *msg)
if (*receiver == '#') {
if (s_BotServ && (ci = cs_findchan(receiver))) {
/* Some paranoia checks */
- if (!(ci->flags & CI_VERBOTEN) && ci->c && ci->bi) {
+ if (!(ci->flags & CI_FORBIDDEN) && ci->c && ci->bi) {
botchanmsgs(u, ci, const_cast<char *>(msg)); // XXX Unsafe cast, this needs reviewing -- CyberBotX
}
}