X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fban.c;h=fbf711ac22a6762cf66013e9cbec07774fd6a667;hb=0585137946bb302982364d681bf1c398834585e4;hp=d91fb5a40090c53f5c7da009093aa426ff147896;hpb=8cf410eace9c2a69ae9855b26110fe07d8deb99a;p=umurmur.git diff --git a/src/ban.c b/src/ban.c index d91fb5a..fbf711a 100644 --- a/src/ban.c +++ b/src/ban.c @@ -53,9 +53,9 @@ void Ban_UserBan(client_t *client, char *reason) list_add_tail(&ban->node, &banlist); SSLi_hash2hex(ban->hash, hexhash); - Log_info("User %s kickbanned. Reason: '%s' Hash: %s IP: %s Banned for: %d seconds", - ban->name, ban->reason, hexhash, inet_ntoa(*((struct in_addr *)&ban->address)), - getIntConf(BAN_LENGTH)); + Log_info_client(client, "User kickbanned. Reason: '%s' Hash: %s IP: %s Banned for: %d seconds", + ban->name, ban->reason, hexhash, inet_ntoa(*((struct in_addr *)&ban->address)), + getIntConf(BAN_LENGTH)); }