about summary refs log tree commit diff
path: root/src/banmaster
diff options
context:
space:
mode:
authorTeetime <teetimetw@yahoo.de>2011-11-03 23:47:11 +0100
committerTeetime <teetimetw@yahoo.de>2011-11-03 23:47:11 +0100
commit24718cc8d6f8021f6c54e1c2207f7e68b75a22c3 (patch)
treed20fb527777c07ed58c4573dc7cc427b5fcbd675 /src/banmaster
parent3ca94bcb87b16581b560d82e03b54039208d381c (diff)
downloadzcatch-24718cc8d6f8021f6c54e1c2207f7e68b75a22c3.tar.gz
zcatch-24718cc8d6f8021f6c54e1c2207f7e68b75a22c3.zip
now it's really fixed
Diffstat (limited to 'src/banmaster')
-rw-r--r--src/banmaster/banmaster.cpp2
1 files changed, 1 insertions, 1 deletions
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");