diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
commit | 717c684eacb691d5923fa03fa274ad5dc14033f7 (patch) | |
tree | ad0371cf3d79bdb8e3805fbb05fc344699bad1b5 /src/protocol/bahamut.c | |
parent | a3d2bc65e2ea2327966257d6170f46b0f7f611f3 (diff) |
Added cmd_bot_chan_mode() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1234 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/bahamut.c')
-rw-r--r-- | src/protocol/bahamut.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c index 35eb9fc42..35d1fb61d 100644 --- a/src/protocol/bahamut.c +++ b/src/protocol/bahamut.c @@ -510,9 +510,9 @@ void bahamut_cmd_svsmode_chan(const char *name, const char *mode, const char *ni } } -void bahamut_cmd_bot_chan_mode(const char *nick, const char *chan) +void BahamutIRCdProto::cmd_bot_chan_mode(const char *nick, const char *chan) { - anope_cmd_mode(nick, chan, "%s %s", ircd->botchanumode, nick); + anope_cmd_mode(nick, chan, "%s %s", ircd->botchanumode, nick); } /* EVENT: SJOIN */ @@ -1488,7 +1488,6 @@ void moduleAddAnopeCmds() pmodule_cmd_372_error(bahamut_cmd_372_error); pmodule_cmd_375(bahamut_cmd_375); pmodule_cmd_376(bahamut_cmd_376); - pmodule_cmd_bot_chan_mode(bahamut_cmd_bot_chan_mode); pmodule_cmd_351(bahamut_cmd_351); pmodule_cmd_quit(bahamut_cmd_quit); pmodule_cmd_pong(bahamut_cmd_pong); |