diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:12 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:12 +0000 |
commit | 4a4c4a9ee13ee06c7a1803f313e9c2a48e017e75 (patch) | |
tree | 392ffb3b6c3bf8e455e7e963087cb834718169df /src/protocol/bahamut.c | |
parent | 8d6828fb8f84431c50914fa9161c46bdfa67a384 (diff) |
Added cmd_sgline() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1255 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 dd3aea8a2..8b1a31698 100644 --- a/src/protocol/bahamut.c +++ b/src/protocol/bahamut.c @@ -728,9 +728,9 @@ void bahamut_cmd_svsadmin(const char *server, int set) } /* SGLINE */ -void bahamut_cmd_sgline(const char *mask, const char *reason) +void BahamutIRCdProto::cmd_sgline(const char *mask, const char *reason) { - send_cmd(NULL, "SGLINE %d :%s:%s", (int)strlen(mask), mask, reason); + send_cmd(NULL, "SGLINE %d :%s:%s", static_cast<int>(strlen(mask)), mask, reason); } /* RAKILL */ @@ -1395,7 +1395,6 @@ void moduleAddAnopeCmds() pmodule_cmd_242(bahamut_cmd_242); pmodule_cmd_243(bahamut_cmd_243); pmodule_cmd_211(bahamut_cmd_211); - pmodule_cmd_sgline(bahamut_cmd_sgline); pmodule_cmd_unban(bahamut_cmd_unban); pmodule_cmd_svsmode_chan(bahamut_cmd_svsmode_chan); pmodule_cmd_svid_umode(bahamut_cmd_svid_umode); |