diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-08-01 13:42:35 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-08-01 13:42:35 -0400 |
commit | d59c1b95e18fd5c9bbec14b8b1b8aab989a3bce7 (patch) | |
tree | 94471c29e06725ce1d28ee11ae408084cfd82d41 /modules/core/os_set.cpp | |
parent | 2f6c0e435cbceb60c219f9f1cd925ae4ddffd4d9 (diff) |
Cleanup in main.cpp.
Diffstat (limited to 'modules/core/os_set.cpp')
-rw-r--r-- | modules/core/os_set.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/core/os_set.cpp b/modules/core/os_set.cpp index 74398cb9a..e46d91bb7 100644 --- a/modules/core/os_set.cpp +++ b/modules/core/os_set.cpp @@ -72,14 +72,14 @@ class CommandOSSet : public Command if (setting.equals_ci("ON")) { - readonly = 1; + readonly = true; Alog() << "Read-only mode activated"; close_log(); notice_lang(Config.s_OperServ, u, OPER_SET_READONLY_ON); } else if (setting.equals_ci("OFF")) { - readonly = 0; + readonly = false; open_log(); Alog() << "Read-only mode deactivated"; notice_lang(Config.s_OperServ, u, OPER_SET_READONLY_OFF); @@ -219,13 +219,13 @@ class CommandOSSet : public Command if (setting.equals_ci("ON")) { - noexpire = 1; + noexpire = true; Alog() << "No expire mode activated"; notice_lang(Config.s_OperServ, u, OPER_SET_NOEXPIRE_ON); } else if (setting.equals_ci("OFF")) { - noexpire = 0; + noexpire = false; Alog() << "No expire mode deactivated"; notice_lang(Config.s_OperServ, u, OPER_SET_NOEXPIRE_OFF); } |