summaryrefslogtreecommitdiff
path: root/modules/commands/os_reload.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-27 08:12:04 -0400
committerAdam <Adam@anope.org>2012-10-27 08:12:04 -0400
commitd6e1b92059688c8b59df0eedccfb16781d193591 (patch)
treee61ace0908bae241ea4cac18331a99b441981dad /modules/commands/os_reload.cpp
parentbb5f4555dce8bdfa7124db87c72a084c9d9416a1 (diff)
Add a module log type
Diffstat (limited to 'modules/commands/os_reload.cpp')
-rw-r--r--modules/commands/os_reload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_reload.cpp b/modules/commands/os_reload.cpp
index 8b7da60f9..e7a07054f 100644
--- a/modules/commands/os_reload.cpp
+++ b/modules/commands/os_reload.cpp
@@ -36,7 +36,7 @@ class CommandOSReload : public Command
catch (const ConfigException &ex)
{
Config = old_config;
- Log() << "Error reloading configuration file: " << ex.GetReason();
+ Log(this->owner) << "Error reloading configuration file: " << ex.GetReason();
source.Reply(_("Error reloading configuration file: ") + ex.GetReason());
}