diff options
author | Sadie Powell <sadie@witchery.services> | 2020-12-22 03:53:00 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-12-22 04:13:56 +0000 |
commit | 96befc58f073b4f96771b57d728b16742294c2fe (patch) | |
tree | 44be29fcf57e1e5327ac703e30a1c3fa1af90185 /src/xline.cpp | |
parent | aa0221d87ca355d5021f81f8f65cf6a47bc93c38 (diff) |
Send RPL_SAVENICK from irc2 when renaming a user to their UUID.
Diffstat (limited to 'src/xline.cpp')
-rw-r--r-- | src/xline.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |