From 68794a3ffc7a8cdcf9bade0fa38c647c27dcbff9 Mon Sep 17 00:00:00 2001 From: stskeeps Date: Tue, 13 Aug 2002 17:41:00 +0000 Subject: [PATCH] - Fixed problem where the parameters of the RAKILL aliasing to TKL were switched, and a missing return for normal users. --- Changes | 2 ++ src/modules/m_rakill.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Changes b/Changes index 6a64024f1..2b29ce2cd 100644 --- a/Changes +++ b/Changes @@ -1473,3 +1473,5 @@ seen. gmtime warning still there to 0 - Fixed the bug where /invite doesn't work (TEST BEFORE COMMIT!) reported by havlaz (#0000255) +- Fixed problem where the parameters of the RAKILL aliasing to TKL were switched, + and a missing return for normal users. diff --git a/src/modules/m_rakill.c b/src/modules/m_rakill.c index 0be5cdc29..35f97dd3c 100644 --- a/src/modules/m_rakill.c +++ b/src/modules/m_rakill.c @@ -149,17 +149,17 @@ DLLFUNC int m_rakill(aClient *cptr, aClient *sptr, int parc, char *parv[]) { sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, sptr->name); - return 0; } else { sendto_one(sptr, ":%s NOTICE %s :*** RAKILL is depricated and should not be used. Please use /gline -user@host instead", me.name, sptr->name); } + return 0; } - tkllayer[3] = parv[1]; - tkllayer[4] = parv[2]; + tkllayer[3] = parv[2]; + tkllayer[4] = parv[1]; tkllayer[5] = sptr->name; m_tkl(&me, &me, 6, tkllayer); loop.do_bancheck = 1;