1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 05:33:12 +02:00

Fix crash on "TKL" command without parameters. Due to rewrites from yesterday.

This commit is contained in:
Bram Matthys
2019-06-17 07:44:50 +02:00
parent c2ba6b40b8
commit b8cdb21754
+3
View File
@@ -3053,6 +3053,9 @@ CMD_FUNC(_m_tkl)
if (!IsServer(sptr) && !IsOper(sptr) && !IsMe(sptr))
return 0;
if (parc < 2)
return 0;
switch (*parv[1])
{
case '+':