diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-03 08:00:31 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-03 08:00:31 +0000 |
| commit | 968616980cea24f38b7c15301a29f3adad7cb6b3 (patch) | |
| tree | 299d93b502c9e4498304033134ce12e04e7f519c /src/chanserv.c | |
| parent | 797bdccb9ba4d5bd82021d8de1ae671629c41f96 (diff) | |
Merge commit 'cbx/anopeng-uid' into anopeng-uid
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1395 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/chanserv.c')
| -rw-r--r-- | src/chanserv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chanserv.c b/src/chanserv.c index 232a24eb3..a878d0882 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -276,7 +276,7 @@ void chanserv(User * u, char *buf) if (!(s = strtok(NULL, ""))) { s = ""; } - anope_SendCTCP(s_ChanServ, u->nick, "PING %s", s); + ircdproto->SendCTCP(findbot(s_ChanServ), u->nick, "PING %s", s); } else { mod_run_cmd(s_ChanServ, u, CHANSERV, cmd); } @@ -2160,7 +2160,7 @@ void cs_set_flood(ChannelInfo * ci, const char *value) free(ci->mlock_flood); /* This looks ugly, but it works ;) */ - if (anope_IsFloodModeParamValid(value)) { + if (ircdproto->IsFloodModeParamValid(value)) { ci->mlock_flood = sstrdup(value); } else { ci->mlock_on &= ~ircd->chan_fmode; |
