mirror of
https://github.com/anope/anope.git
synced 2026-07-08 18:03:13 +02:00
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
This commit is contained in:
+2
-2
@@ -1149,7 +1149,7 @@ void do_cmode(const char *source, int ac, const char **av)
|
||||
if (!chan) {
|
||||
if (debug) {
|
||||
ci = cs_findchan(av[0]);
|
||||
if (!(ci && (ci->flags & CI_VERBOTEN)))
|
||||
if (!(ci && (ci->flags & CI_FORBIDDEN)))
|
||||
alog("debug: MODE %s for nonexistent channel %s",
|
||||
merge_args(ac - 1, av + 1), av[0]);
|
||||
}
|
||||
@@ -1363,7 +1363,7 @@ void chan_set_correct_modes(User * user, Channel * c, int give_modes)
|
||||
if (!c || !(ci = c->ci))
|
||||
return;
|
||||
|
||||
if ((ci->flags & CI_VERBOTEN) || (*(c->name) == '+'))
|
||||
if ((ci->flags & CI_FORBIDDEN) || (*(c->name) == '+'))
|
||||
return;
|
||||
|
||||
status = chan_get_user_status(c, user);
|
||||
|
||||
Reference in New Issue
Block a user