From e84bf9f3ec5a60078c32b272d3d7885c0708c544 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 12:26:07 +0000 Subject: Change to using Instance->Log (InspIRCd::Log) rather than log() macro git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/command_parse.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/command_parse.cpp') diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 3c8af85c8..2424b1844 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -275,7 +275,7 @@ bool CommandParser::RemoveCommands(const char* source) command_t* x = i->second; if (x->source == std::string(source)) { - log(DEBUG,"removecommands(%s) Removing dependent command: %s",x->source.c_str(),x->command.c_str()); + ServerInstance->Log(DEBUG,"removecommands(%s) Removing dependent command: %s",x->source.c_str(),x->command.c_str()); cmdlist.erase(i); go_again = true; break; @@ -300,7 +300,7 @@ void CommandParser::ProcessBuffer(std::string &buffer,userrec *user) if (buffer.length()) { - log(DEBUG,"CMDIN: %s %s",user->nick,buffer.c_str()); + ServerInstance->Log(DEBUG,"CMDIN: %s %s",user->nick,buffer.c_str()); this->ProcessCommand(user,buffer); } } @@ -311,7 +311,7 @@ bool CommandParser::CreateCommand(command_t *f) if (cmdlist.find(f->command) == cmdlist.end()) { cmdlist[f->command] = f; - log(DEBUG,"Added command %s (%lu parameters)",f->command.c_str(),(unsigned long)f->min_params); + ServerInstance->Log(DEBUG,"Added command %s (%lu parameters)",f->command.c_str(),(unsigned long)f->min_params); return true; } else return false; -- cgit v1.3.1-10-gc9f91