summaryrefslogtreecommitdiff
path: root/src/modes/cmode_b.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modes/cmode_b.cpp')
-rw-r--r--src/modes/cmode_b.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}