commands.py: Fix name conflict.

This commit is contained in:
Valentin Lorentz 2012-10-29 20:16:08 +01:00
parent fba70d15bc
commit 59d6d4da03

View File

@ -432,7 +432,7 @@ def getNick(irc, msg, args, state):
def getSeenNick(irc, msg, args, state, errmsg=None): def getSeenNick(irc, msg, args, state, errmsg=None):
try: try:
_ = irc.state.nickToHostmask(args[0]) foo = irc.state.nickToHostmask(args[0])
state.args.append(args.pop(0)) state.args.append(args.pop(0))
except KeyError: except KeyError:
if errmsg is None: if errmsg is None: