1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 09:03:13 +02:00

Pretty large coding style cleanup, in source doc

cleanup, and allow protocol mods to depend on each
other
This commit is contained in:
Adam
2012-11-22 00:50:33 -05:00
parent 368d469631
commit d33a0f75a5
303 changed files with 7880 additions and 9388 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ class CommandNSSetDisplay : public Command
void Run(CommandSource &source, const Anope::string &user, const Anope::string &param)
{
const NickAlias *user_na = findnick(user), *na = findnick(param);
const NickAlias *user_na = NickAlias::Find(user), *na = NickAlias::Find(param);
if (user_na == NULL)
{
@@ -42,7 +42,7 @@ class CommandNSSetDisplay : public Command
if (MOD_RESULT == EVENT_STOP)
return;
change_core_display(user_na->nc, na->nick);
user_na->nc->SetDisplay(na);
source.Reply(NICK_SET_DISPLAY_CHANGED, user_na->nc->display.c_str());
}