From 0761a4a692e63333d608f2bed829c7d3ea24026a Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 27 Oct 2011 14:46:20 -0400 Subject: Bug #1350 + other related fixes --- modules/commands/cs_log.cpp | 1 + modules/database/db_plain.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'modules') 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]; -- cgit