Skip to content

Instantly share code, notes, and snippets.

@sbarfurth
Created June 27, 2014 12:26
Show Gist options
  • Save sbarfurth/5b85a1c07df55b58477b to your computer and use it in GitHub Desktop.
Save sbarfurth/5b85a1c07df55b58477b to your computer and use it in GitHub Desktop.
virtual void OnUserPostNick(User* user, const std::string &oldnick)
{
ServerInstance->SNO->WriteToSnoMask(IS_LOCAL(user) ? 'n' : 'N',"User %s changed their nickname to %s (*@%s)", oldnick.c_str(), user->nick.c_str(), , user->host.c_str());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment