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/modes/cmode_b.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modes/cmode_b.cpp') diff --git a/src/modes/cmode_b.cpp b/src/modes/cmode_b.cpp index d8f75220d..82e57ea7b 100644 --- a/src/modes/cmode_b.cpp +++ b/src/modes/cmode_b.cpp @@ -52,7 +52,7 @@ std::string& ModeChannelBan::AddBan(userrec *user,std::string &dest,chanrec *cha { if ((!user) || (!chan)) { - log(DEFAULT,"*** BUG *** AddBan was given an invalid parameter"); + ServerInstance->Log(DEFAULT,"*** BUG *** AddBan was given an invalid parameter"); dest = ""; return dest; } @@ -119,7 +119,7 @@ std::string& ModeChannelBan::DelBan(userrec *user,std::string& dest,chanrec *cha { if ((!user) || (!chan)) { - log(DEFAULT,"*** BUG *** TakeBan was given an invalid parameter"); + ServerInstance->Log(DEFAULT,"*** BUG *** TakeBan was given an invalid parameter"); dest = ""; return dest; } -- cgit v1.2.3