LVPlayground / nuwani

Canonical repository for the Nuwani IRC bot framework
MIT License
0 stars 0 forks source link

Log IP Address with kicks #7

Closed ghost closed 8 years ago

ghost commented 8 years ago

We currently log IPs under !why when banning players, but not when kicking them. Given that we tend to give more second chances these days and kick instead, it would be helpful to have this information included.

[15:54] @Xanland !why player [15:54] <&Nuwani> *\ Player log for player (8 items) - Complete log: http://sa-mp.nl/players/banlog/1/date/desc/nickname/player.html [15:54] <&Nuwani> [27-12-2015 01:49:05] [note by Xanland]: can evade as censored

[15:54] <&Nuwani> [21-12-2015 12:14:58] [kick by [HKO]slein]: incorrect reporting

[15:54] <&Nuwani> [18-12-2015 10:49:46] [ban by Granny): aimbot (IP: censored) [15:54] <+Saber> * Page Title: Las Venturas Playground Player Overview

debuggest3 commented 8 years ago

This needs to be done by the gamemode, as that's the one performing the kick.

ghost commented 8 years ago

https://github.com/LVPlayground/playground/commit/50ef2c4887625ed2a27c3b310fb804cbc510f31f