mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +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.
|
Tells you how lame said nick is.
|
||||||
"""
|
"""
|
||||||
score = 0L
|
score = 0L
|
||||||
|
nick = privmsgs.getArgs(args, required=0, optional=1)
|
||||||
nick = privmsgs.getArgs(args)
|
if not nick:
|
||||||
|
nick = msg.nick
|
||||||
originalNick = nick
|
originalNick = nick
|
||||||
if not nick:
|
if not nick:
|
||||||
irc.error('Give me a nick to judge as the argument, please.')
|
irc.error('Give me a nick to judge as the argument, please.')
|
||||||
|
Loading…
Reference in New Issue
Block a user