diff options
| author | Teetime <teetimetw@yahoo.de> | 2011-11-03 23:23:42 +0100 |
|---|---|---|
| committer | Teetime <teetimetw@yahoo.de> | 2011-11-03 23:23:42 +0100 |
| commit | c318e3ed1831dc0036e706e1e983f479960681b9 (patch) | |
| tree | bfb18d0185fea96d09a626191a04f355c69b00a2 /src | |
| parent | 8ec6e8bae1058ebdccfe9fecbde50488adceabba (diff) | |
| download | zcatch-c318e3ed1831dc0036e706e1e983f479960681b9.tar.gz zcatch-c318e3ed1831dc0036e706e1e983f479960681b9.zip | |
fixed compiler error in banmasters
Diffstat (limited to 'src')
| -rw-r--r-- | src/banmaster/banmaster.cpp | 2 |
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"); |