1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 02:43:12 +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
+3 -3
View File
@@ -41,7 +41,7 @@ class CommandNSSet : public Command
if (c_name.find_ci(this_name + " ") == 0)
{
service_reference<Command> command("Command", info.name);
ServiceReference<Command> command("Command", info.name);
if (command)
{
source.command = c_name;
@@ -81,9 +81,9 @@ class CommandNSSetPassword : public Command
return;
}
enc_encrypt(param, source.nc->pass);
Anope::Encrypt(param, source.nc->pass);
Anope::string tmp_pass;
if (enc_decrypt(source.nc->pass, tmp_pass) == 1)
if (Anope::Decrypt(source.nc->pass, tmp_pass) == 1)
source.Reply(_("Password for \002%s\002 changed to \002%s\002."), source.nc->display.c_str(), tmp_pass.c_str());
else
source.Reply(_("Password for \002%s\002 changed."), source.nc->display.c_str());