1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 18:23:13 +02:00

Log a user out fully when their nick gets suspended.

Closes #409.
This commit is contained in:
Sadie Powell
2024-06-04 22:39:41 +01:00
parent 8bb83f6b1a
commit ccc088d946
+2
View File
@@ -127,6 +127,8 @@ class CommandNSSuspend : public Command
User *u2 = User::Find(na2->nick, true);
if (u2)
{
IRCD->SendLogout(u2);
u2->RemoveMode(source.service, "REGISTERED");
u2->Logout();
if (nickserv)
nickserv->Collide(u2, na2);