diff options
author | Adam <Adam@anope.org> | 2011-08-06 17:33:59 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-06 17:33:59 -0400 |
commit | a6dd65f916adbdd4edf6494a2d3ab2d94484189f (patch) | |
tree | bb0a25159930a991ad355f2bb58604bbe1e65fcb /modules/commands/os_set.cpp | |
parent | 0448e386dee2d6a591e4a67586b5ad059127a8c3 (diff) |
Fixed suepradmin
Diffstat (limited to 'modules/commands/os_set.cpp')
-rw-r--r-- | modules/commands/os_set.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_set.cpp b/modules/commands/os_set.cpp index 2a50f851c..abee78e77 100644 --- a/modules/commands/os_set.cpp +++ b/modules/commands/os_set.cpp @@ -81,14 +81,14 @@ class CommandOSSet : public Command source.Reply(_("SuperAdmin setting not enabled in services.conf")); else if (setting.equals_ci("ON")) { - u->isSuperAdmin = 1; + u->SuperAdmin = true; source.Reply(_("You are now a SuperAdmin")); Log(LOG_ADMIN, u, this) << "SUPERADMIN ON"; ircdproto->SendGlobops(source.owner, _("%s is now a Super-Admin"), u->nick.c_str()); } else if (setting.equals_ci("OFF")) { - u->isSuperAdmin = 0; + u->SuperAdmin = false; source.Reply(_("You are no longer a SuperAdmin")); Log(LOG_ADMIN, u, this) << "SUPERADMIN OFF"; ircdproto->SendGlobops(source.owner, _("%s is no longer a Super-Admin"), u->nick.c_str()); |