X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fban.c;h=3c7c4ffa656ea26c2ab285192b03f9466d4f08d5;hb=bb5f5ae82bdcb7b5189032940d0b609dc12be70b;hp=229b0de1fd637232322e5a7c9dec8885a2d2b63c;hpb=2aa733ee47fd6a345e2578f7837acbaa1cea3ca5;p=umurmur.git diff --git a/src/ban.c b/src/ban.c index 229b0de..3c7c4ff 100644 --- a/src/ban.c +++ b/src/ban.c @@ -36,6 +36,7 @@ #include "ban.h" #include "conf.h" #include "ssl.h" +#include "util.h" static void Ban_saveBanFile(void); static void Ban_readBanFile(void); @@ -95,7 +96,7 @@ void Ban_UserBan(client_t *client, char *reason) SSLi_hash2hex(ban->hash, hexhash); Log_info_client(client, "User kickbanned. Reason: '%s' Hash: %s IP: %s Banned for: %d seconds", - ban->reason, hexhash, client->addressString, ban->duration); + ban->reason, hexhash, Util_clientAddressToString(client), ban->duration); }