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

Fix "You were forced to part" message on SAPART that was accidentally deleted

This commit is contained in:
Bram Matthys
2021-08-05 17:30:36 +02:00
parent 4115eaf483
commit d3bd525eef
+5
View File
@@ -171,6 +171,11 @@ CMD_FUNC(cmd_sapart)
log_sapart(client, target, parv[2], comment);
if (comment)
sendnotice(target, "*** You were forced to part %s (%s)", parv[2], commentx);
else
sendnotice(target, "*** You were forced to part %s", parv[2]);
parv[0] = target->name; // nick
parv[1] = parv[2]; // chan
parv[2] = comment ? commentx : NULL; // comment