diff options
Diffstat (limited to 'modules/commands/os_info.cpp')
-rw-r--r-- | modules/commands/os_info.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/os_info.cpp b/modules/commands/os_info.cpp index 53e54f1ab..bc1edff10 100644 --- a/modules/commands/os_info.cpp +++ b/modules/commands/os_info.cpp @@ -164,7 +164,7 @@ class CommandOSInfo : public Command source.Reply(_("Added info to \002%s\002."), target.c_str()); Log(LOG_ADMIN, source, this) << "to add information to " << target; - if (Anope::ReadOnly) + if (Anope::ReadOnly) source.Reply(READ_ONLY_MODE); } else if (cmd.equals_ci("DEL")) @@ -208,7 +208,7 @@ class CommandOSInfo : public Command source.Reply(_("Deleted info from \002%s\002."), target.c_str()); Log(LOG_ADMIN, source, this) << "to remove information from " << target; - if (Anope::ReadOnly) + if (Anope::ReadOnly) source.Reply(READ_ONLY_MODE); } } @@ -227,7 +227,7 @@ class CommandOSInfo : public Command source.Reply(_("Cleared info from \002%s\002."), target.c_str()); Log(LOG_ADMIN, source, this) << "to clear information for " << target; - if (Anope::ReadOnly) + if (Anope::ReadOnly) source.Reply(READ_ONLY_MODE); } else |