1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 19:13:14 +02:00

- Fixed problem where the parameters of the RAKILL aliasing to TKL were switched,

and a missing return for normal users.
This commit is contained in:
stskeeps
2002-08-13 17:41:00 +00:00
parent 1fa5ed84e6
commit 68794a3ffc
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -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.
+3 -3
View File
@@ -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;