mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Default to msg.nick.
This commit is contained in:
parent
6964a64c1b
commit
f45c3f5923
@ -108,8 +108,9 @@ class Nickometer(callbacks.Privmsg):
|
||||
Tells you how lame said nick is.
|
||||
"""
|
||||
score = 0L
|
||||
|
||||
nick = privmsgs.getArgs(args)
|
||||
nick = privmsgs.getArgs(args, required=0, optional=1)
|
||||
if not nick:
|
||||
nick = msg.nick
|
||||
originalNick = nick
|
||||
if not nick:
|
||||
irc.error('Give me a nick to judge as the argument, please.')
|
||||
|
Loading…
Reference in New Issue
Block a user