mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Add more information to the seenicks message.
This commit is contained in:
parent
c446fa0cea
commit
55a7690b50
@ -39,7 +39,8 @@ public:
|
|||||||
|
|
||||||
void OnUserPostNick(User* user, const std::string& oldnick) override
|
void OnUserPostNick(User* user, const std::string& oldnick) override
|
||||||
{
|
{
|
||||||
ServerInstance->SNO.WriteToSnoMask(IS_LOCAL(user) ? 'n' : 'N', "User {} changed their nickname to {}", oldnick, user->nick);
|
ServerInstance->SNO.WriteToSnoMask(IS_LOCAL(user) ? 'n' : 'N', "User {}!{} ({}) changed their nickname to {}",
|
||||||
|
oldnick, user->GetRealUserHost(), user->GetAddress(), user->nick);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user