X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fban.c;h=3c7c4ffa656ea26c2ab285192b03f9466d4f08d5;hb=28fc78c510aad21897d4643e3d67a5a138bbfc3a;hp=229b0de1fd637232322e5a7c9dec8885a2d2b63c;hpb=f437c88e9885c332a11fce2babc53c22dfd6e86e;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); }