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/xline.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/xline.cpp') diff --git a/src/xline.cpp b/src/xline.cpp index 215a270c5..2ad58d093 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -73,7 +73,7 @@ bool DoZLine(ServerConfig* conf, const char* tag, char** entries, void** values, char* ipmask = (char*)values[1]; conf->GetInstance()->XLines->add_zline(0,"",reason,ipmask); - ilog(conf->GetInstance(),DEBUG,"Read Z line (badip tag): ipmask=%s reason=%s",ipmask,reason); + conf->GetInstance()->Log(DEBUG,"Read Z line (badip tag): ipmask=%s reason=%s",ipmask,reason); return true; } @@ -83,7 +83,7 @@ bool DoQLine(ServerConfig* conf, const char* tag, char** entries, void** values, char* nick = (char*)values[1]; conf->GetInstance()->XLines->add_qline(0,"",reason,nick); - ilog(conf->GetInstance(),DEBUG,"Read Q line (badnick tag): nick=%s reason=%s",nick,reason); + conf->GetInstance()->Log(DEBUG,"Read Q line (badnick tag): nick=%s reason=%s",nick,reason); return true; } @@ -93,7 +93,7 @@ bool DoKLine(ServerConfig* conf, const char* tag, char** entries, void** values, char* host = (char*)values[1]; conf->GetInstance()->XLines->add_kline(0,"",reason,host); - ilog(conf->GetInstance(),DEBUG,"Read K line (badhost tag): host=%s reason=%s",host,reason); + conf->GetInstance()->Log(DEBUG,"Read K line (badhost tag): host=%s reason=%s",host,reason); return true; } @@ -103,7 +103,7 @@ bool DoELine(ServerConfig* conf, const char* tag, char** entries, void** values, char* host = (char*)values[1]; conf->GetInstance()->XLines->add_eline(0,"",reason,host); - ilog(conf->GetInstance(),DEBUG,"Read E line (exception tag): host=%s reason=%s",host,reason); + conf->GetInstance()->Log(DEBUG,"Read E line (exception tag): host=%s reason=%s",host,reason); return true; } -- cgit v1.2.3