summaryrefslogtreecommitdiff
path: root/src/protocol/unreal32.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:11 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:11 +0000
commit717c684eacb691d5923fa03fa274ad5dc14033f7 (patch)
treead0371cf3d79bdb8e3805fbb05fc344699bad1b5 /src/protocol/unreal32.c
parenta3d2bc65e2ea2327966257d6170f46b0f7f611f3 (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/unreal32.c')
-rw-r--r--src/protocol/unreal32.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c
index 8879aea15..da5142fdf 100644
--- a/src/protocol/unreal32.c
+++ b/src/protocol/unreal32.c
@@ -630,10 +630,9 @@ void UnrealIRCdProto::cmd_notice_ops(const char *source, const char *dest, const
}
-void unreal_cmd_bot_chan_mode(const char *nick, const char *chan)
+void UnrealIRCdProto::cmd_bot_chan_mode(const char *nick, const char *chan)
{
- anope_cmd_mode(nick, chan, "%s %s %s", myIrcd->botchanumode, nick,
- nick);
+ anope_cmd_mode(nick, chan, "%s %s %s", myIrcd->botchanumode, nick, nick);
}
void unreal_cmd_351(const char *source)
@@ -2036,7 +2035,6 @@ void moduleAddAnopeCmds()
pmodule_cmd_372_error(unreal_cmd_372_error);
pmodule_cmd_375(unreal_cmd_375);
pmodule_cmd_376(unreal_cmd_376);
- pmodule_cmd_bot_chan_mode(unreal_cmd_bot_chan_mode);
pmodule_cmd_351(unreal_cmd_351);
pmodule_cmd_quit(unreal_cmd_quit);
pmodule_cmd_pong(unreal_cmd_pong);