From 847aab99709d508f86e654031744ec54a4bfa1d1 Mon Sep 17 00:00:00 2001 From: GreYFoX Date: Thu, 14 Apr 2011 01:51:38 +0200 Subject: [PATCH] fixed banmaster compilation --- src/banmaster/banmaster.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/banmaster/banmaster.cpp b/src/banmaster/banmaster.cpp index 64371e80b..bd500bc8c 100644 --- a/src/banmaster/banmaster.cpp +++ b/src/banmaster/banmaster.cpp @@ -188,7 +188,7 @@ int main(int argc, const char **argv) // ignore_convention return -1; } - m_pConsole->ExecuteFile(BANMASTER_BANFILE); + m_pConsole->ExecuteFile(BANMASTER_BANFILE, -1, IConsole::CONSOLELEVEL_CONFIG, 0, 0); NETADDR BindAddr; if(m_aBindAddr[0] && net_host_lookup(m_aBindAddr, &BindAddr, NETTYPE_IPV4) == 0) @@ -239,7 +239,7 @@ int main(int argc, const char **argv) // ignore_convention { ClearBans(); LastUpdate = time_get(); - m_pConsole->ExecuteFile(BANMASTER_BANFILE); + m_pConsole->ExecuteFile(BANMASTER_BANFILE, -1, IConsole::CONSOLELEVEL_CONFIG, 0, 0); } // be nice to the CPU