diff options
Diffstat (limited to 'src/protocol/unreal32.c')
-rw-r--r-- | src/protocol/unreal32.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index 2e833f288..c5e85f180 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -1366,11 +1366,9 @@ void UnrealIRCdProto::cmd_unszline(const char *mask) } /* SZLINE */ -void unreal_cmd_szline(const char *mask, const char *reason, const char *whom) +void UnrealIRCdProto::cmd_szline(const char *mask, const char *reason, const char *whom) { - send_cmd(NULL, "%s + Z * %s %s %ld %ld :%s", send_token("TKL", "BD"), - mask, whom, (long int) time(NULL) + 86400 * 2, - (long int) time(NULL), reason); + send_cmd(NULL, "%s + Z * %s %s %ld %ld :%s", send_token("TKL", "BD"), mask, whom, static_cast<long>(time(NULL) + 172800), static_cast<long>(time(NULL)), reason); } /* SGLINE */ @@ -1937,7 +1935,6 @@ void moduleAddAnopeCmds() pmodule_cmd_242(unreal_cmd_242); pmodule_cmd_243(unreal_cmd_243); pmodule_cmd_211(unreal_cmd_211); - pmodule_cmd_szline(unreal_cmd_szline); pmodule_cmd_sgline(unreal_cmd_sgline); pmodule_cmd_unban(unreal_cmd_unban); pmodule_cmd_svsmode_chan(unreal_cmd_svsmode_chan); |