diff options
Diffstat (limited to 'src/modules/m_nicklock.cpp')
-rw-r--r-- | src/modules/m_nicklock.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp index cedd708fc..b855c6ac2 100644 --- a/src/modules/m_nicklock.cpp +++ b/src/modules/m_nicklock.cpp @@ -58,11 +58,14 @@ class CommandNicklock : public Command user->WriteServ("NOTICE %s :*** Invalid nickname '%s'", user->nick.c_str(), parameters[1].c_str()); return CMD_FAILURE; } + + user->WriteServ("947 %s %s :Nickname now locked.", user->nick, source->nick"); } /* If we made it this far, extend the user */ if (target) { + // This has to be done *here*, because this metadata must be stored netwide. target->Extend("nick_locked", "ON"); ServerInstance->SNO->WriteToSnoMask('a', user->nick+" used NICKLOCK to change and hold "+target->nick+" to "+parameters[1]); |