summaryrefslogtreecommitdiff
path: root/src/protocol/bahamut.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
commit6ae0b4e597e18857b2f96de49c947e47f101d80b (patch)
treefa5fe49a2ee9d5665dcfec479be2cd4f750b0889 /src/protocol/bahamut.c
parent0e794a9e50cdf3b38a6c21936cc331bc7a50518c (diff)
Added cmd_join() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1238 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/bahamut.c')
-rw-r--r--src/protocol/bahamut.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c
index 9da48a827..ea8d71aad 100644
--- a/src/protocol/bahamut.c
+++ b/src/protocol/bahamut.c
@@ -771,9 +771,9 @@ void bahamut_cmd_unsqline(const char *user)
}
/* JOIN - SJOIN */
-void bahamut_cmd_join(const char *user, const char *channel, time_t chantime)
+void BahamutIRCdProto::cmd_join(const char *user, const char *channel, time_t chantime)
{
- send_cmd(user, "SJOIN %ld %s", (long int) chantime, channel);
+ send_cmd(user, "SJOIN %ld %s", static_cast<long>(chantime), channel);
}
void bahamut_cmd_burst()
@@ -1473,7 +1473,6 @@ void moduleAddAnopeCmds()
pmodule_cmd_375(bahamut_cmd_375);
pmodule_cmd_376(bahamut_cmd_376);
pmodule_cmd_351(bahamut_cmd_351);
- pmodule_cmd_join(bahamut_cmd_join);
pmodule_cmd_unsqline(bahamut_cmd_unsqline);
pmodule_cmd_invite(bahamut_cmd_invite);
pmodule_cmd_part(bahamut_cmd_part);