summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/commands/cs_log.cpp1
-rw-r--r--modules/database/db_plain.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/commands/cs_log.cpp b/modules/commands/cs_log.cpp
index dc7fe0999..0045055d3 100644
--- a/modules/commands/cs_log.cpp
+++ b/modules/commands/cs_log.cpp
@@ -113,6 +113,7 @@ public:
}
LogSetting log;
+ log.ci = ci;
log.service_name = bi->commands[command_name].name;
log.command_service = bi->nick;
log.command_name = command_name;
diff --git a/modules/database/db_plain.cpp b/modules/database/db_plain.cpp
index fd8c0d666..387d5ca61 100644
--- a/modules/database/db_plain.cpp
+++ b/modules/database/db_plain.cpp
@@ -223,6 +223,7 @@ EventReturn OnDatabaseReadMetadata(ChannelInfo *ci, const Anope::string &key, co
{
LogSetting l;
+ l.ci = ci;
l.service_name = params[0];
l.command_service = params[1];
l.command_name = params[2];