summaryrefslogtreecommitdiff
path: root/src/chanserv.c
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 21:02:37 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 21:02:37 +0000
commit6c305a3d6731191899f4331be56a071dab66d194 (patch)
tree59a7bf69f0a2b035bc84580552e0745977307a82 /src/chanserv.c
parentf3f1b97a1ab782a3419fe20ae06d3e3535a4ddae (diff)
Replaced anope_SendGlobops() with direct call to SendGlobops() in IRCDProto class.
Added SendGlobopsInternal() function to IRCDProto class, now SendGlobops() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1347 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/chanserv.c')
-rw-r--r--src/chanserv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chanserv.c b/src/chanserv.c
index 3472db927..a82de829a 100644
--- a/src/chanserv.c
+++ b/src/chanserv.c
@@ -611,7 +611,7 @@ void load_cs_dbase(void)
restore_db(f); \
log_perror("Write error on %s", ChanDBName); \
if (time(NULL) - lastwarn > WarningTimeout) { \
- anope_SendGlobops(NULL, "Write error on %s: %s", ChanDBName, \
+ ircdproto->SendGlobops(NULL, "Write error on %s: %s", ChanDBName, \
strerror(errno)); \
lastwarn = time(NULL); \
} \
@@ -876,7 +876,7 @@ void check_modes(Channel * c)
/* Check for mode bouncing */
if (c->server_modecount >= 3 && c->chanserv_modecount >= 3) {
- anope_SendGlobops(NULL,
+ ircdproto->SendGlobops(NULL,
"Warning: unable to set modes on channel %s. "
"Are your servers' U:lines configured correctly?",
c->name);