From 96befc58f073b4f96771b57d728b16742294c2fe Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 22 Dec 2020 03:53:00 +0000 Subject: Send RPL_SAVENICK from irc2 when renaming a user to their UUID. --- src/xline.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/xline.cpp') diff --git a/src/xline.cpp b/src/xline.cpp index 0d627023e..e4c6b6fb3 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -688,6 +688,7 @@ bool QLine::Matches(User *u) void QLine::Apply(User* u) { /* Force to uuid on apply of Q-line, no need to disconnect anymore :) */ + u->WriteNumeric(RPL_SAVENICK, u->uuid, "Your nickname has been Q-lined."); u->ChangeNick(u->uuid); } -- cgit v1.3.1-10-gc9f91