Remove legacy msg.nick

This commit is contained in:
nemunaire 2017-07-18 06:32:48 +02:00
commit fde459c3ff
16 changed files with 49 additions and 55 deletions

View file

@ -55,7 +55,7 @@ def cmd_geocode(msg):
if not len(msg.args):
raise IMException("indicate a name")
res = Response(channel=msg.channel, nick=msg.nick,
res = Response(channel=msg.channel, nick=msg.frm,
nomore="No more geocode", count=" (%s more geocode)")
for loc in geocode(' '.join(msg.args)):