From c318e3ed1831dc0036e706e1e983f479960681b9 Mon Sep 17 00:00:00 2001 From: Teetime Date: Thu, 3 Nov 2011 23:23:42 +0100 Subject: fixed compiler error in banmasters --- banmaster.exe | Bin 0 -> 270848 bytes src/banmaster/banmaster.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 banmaster.exe diff --git a/banmaster.exe b/banmaster.exe new file mode 100644 index 00000000..d025dae1 Binary files /dev/null and b/banmaster.exe differ diff --git a/src/banmaster/banmaster.cpp b/src/banmaster/banmaster.cpp index f68afb0c..9aacfda0 100644 --- a/src/banmaster/banmaster.cpp +++ b/src/banmaster/banmaster.cpp @@ -177,7 +177,7 @@ int main(int argc, const char **argv) // ignore_convention IStorage *pStorage = CreateStorage("Teeworlds", argc, argv); // ignore_convention m_pConsole = CreateConsole(CFGFLAG_BANMASTER); - m_pConsole->RegisterPrintCallback(StandardOutput, 0); + m_pConsole->RegisterPrintCallback(2, StandardOutput, 0); m_pConsole->Register("ban", "s?r", CFGFLAG_BANMASTER, ConBan, 0, "Bans the specified ip"); m_pConsole->Register("unban_all", "", CFGFLAG_BANMASTER, ConUnbanAll, 0, "Unbans all ips"); m_pConsole->Register("bind", "s", CFGFLAG_BANMASTER, ConSetBindAddr, 0, "Binds to the specified address"); -- cgit 1.4.1