diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-30 20:54:30 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-30 20:54:30 +0000 |
commit | 9900f83d943d22733c94a227650a0d6f060eb0e4 (patch) | |
tree | c202e89d56a153ab6bff6e19341fe01273a1c008 /src | |
parent | 1b4aec7bda2ccd45dbf1c18ae6585dfe185bdf48 (diff) |
Fix chanserv.c to compile after DEFCON changes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2488 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/chanserv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chanserv.c b/src/chanserv.c index 65ddaaf4a..3017bfd8a 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -778,7 +778,7 @@ void check_modes(Channel * c) /* Initialize the modes-var to set all modes not set yet but which should * be set as by mlock and defcon. */ - if (ci) + if (ci) modes = ~c->mode & ci->mlock_on; if (DefConModesSet) modes |= (~c->mode & DefConModesOn); @@ -802,7 +802,7 @@ void check_modes(Channel * c) value = cbmi->csgetvalue(ci); else { value = NULL; - if (debug) + if (debug) alog ("Warning: setting modes with unknown origin."); } @@ -895,7 +895,7 @@ void check_modes(Channel * c) *end = 0; *end2 = 0; - ircdproto->SendMode((ci ? whosends(ci) : s_OperServ), c->name, "%s%s", modebuf, + ircdproto->SendMode((ci ? whosends(ci) : findbot(s_OperServ)), c->name, "%s%s", modebuf, (end2 == argbuf ? "" : argbuf)); } |