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:
@@ -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 '+':
|
||||
|
||||
Reference in New Issue
Block a user