courgette/big-brother-bot — Issue #27: error when unban a player who is not banned 
Author: courgette
Created: 2011-10-28 21:03:08+00:00
State: open
Labels: todo

```

028 22:52:47 DEBUG 'AdminPlugin: Handle command !unban @56'
111028 22:52:47 DEBUG "Storage: getClientsMatching {'id': '56'}"
111028 22:52:47 DEBUG 'Storage: getClientPenalties Client'
111028 22:52:47 DEBUG u'UNBAN: Name: Fou1ne, Ip: 82.236.136.160, Guid: EA_6B8A8090A6B1BD47036F1EF087174FAE'
111028 22:52:47 DEBUG "getCommand: ('banList.remove', 'ip', u'82.236.136.160')"
111028 22:52:47 VERBOSE u"RCON :\t ('banList.remove', 'ip', u'82.236.136.160')"
111028 22:52:47 DEBUG "getCommand: ('admin.say', '(b3): [pm] There was an error processing your command', 'all', 'Cucurbitaceae')"
111028 22:52:47 VERBOSE u"RCON :\t ('admin.say', '(b3): [pm] There was an error processing your command', 'all', 'Cucurbitaceae')"
111028 22:52:47 ERROR 'handler AdminPlugin could not handle event Say: CommandFailedError: [\'NotInList\'] [(\'/home/b3dev/b3-core/b3/parser.py\', 988, \'handleEvents\', \'hfunc.parseEvent(event)\'), (\'/home/b3dev/b3-core/b3/plugin.py\', 158, \'parseEvent\', \'self.onEvent(event)\'), (\'/home/b3dev/b3-core/b3/plugin.py\', 176, \'onEvent\', \'self.handle(event)\'), (\'/home/b3dev/b3-core/b3/plugins/admin.py\', 223, \'handle\', \'self.OnSay(event)\'), (\'/home/b3dev/b3-core/b3/plugins/admin.py\', 368, \'OnSay\', \'results = command.execute(data, event.client)\'), (\'/home/b3dev/b3-core/b3/plugins/admin.py\', 2004, \'execute\', \'self.func(data, client, copy.copy(self))\'), (\'/home/b3dev/b3-core/b3/plugins/admin.py\', 1450, \'cmd_unban\', \'sclient.unban(reason, client)\'), (\'/home/b3dev/b3-core/b3/clients.py\', 534, \'unban\', \'self.console.unban(self, reason, admin, silent)\'), (\'/home/b3dev/b3-core/b3/parsers/frostbite2/abstractParser.py\', 726, \'unban\', "response = self.write(self.getCommand(\'unbanByIp\', ip=client.ip, reason=reason), needConfirmation=True)"), (\'/home/b3dev/b3-core/b3/parsers/frostbite2/abstractParser.py\', 248, \'write\', \'res = self.output.write(msg, maxRetries=maxRetries, needConfirmation=needConfirmation)\'), (\'/home/b3dev/b3-core/b3/parsers/frostbite2/rcon.py\', 52, \'write\', \'response = self.frostbite_server.command(cmd)\'), (\'/home/b3dev/b3-core/b3/parsers/frostbite2/protocol.py\', 320, \'command\', \'raise CommandFailedError(response)\')]'
111028 22:52:47 CONSOLE "['player.onChat', 'Server', '(b3): [pm] There was an error processing your command']"
111028 22:52:47 VERBOSE u'RCON response:\t []'
111028 22:52:47 DEBUG 'looking for event handling method called : OnPlayerChat'
111028 22:52:47 DEBUG "routing ----> OnPlayerChat(['Server', '(b3): [pm] There was an error processing your command'])"
```