summaryrefslogtreecommitdiff
path: root/modules/commands/os_set.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-06 17:33:59 -0400
committerAdam <Adam@anope.org>2011-08-06 17:33:59 -0400
commita6dd65f916adbdd4edf6494a2d3ab2d94484189f (patch)
treebb0a25159930a991ad355f2bb58604bbe1e65fcb /modules/commands/os_set.cpp
parent0448e386dee2d6a591e4a67586b5ad059127a8c3 (diff)
Fixed suepradmin
Diffstat (limited to 'modules/commands/os_set.cpp')
-rw-r--r--modules/commands/os_set.cpp4
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());