mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 10:34:19 +01:00
Fixed lart code not to lart the bot himself.
This commit is contained in:
parent
26f185c0e9
commit
b633960740
@ -146,7 +146,7 @@ class FunDB(callbacks.Privmsg):
|
||||
ORDER BY random()
|
||||
LIMIT 1""")
|
||||
(id, insult) = cursor.fetchone()
|
||||
if nick == irc.nick:
|
||||
if nick.strip() in (irc.nick, 'himself'):
|
||||
insultee = msg.nick
|
||||
else:
|
||||
insultee = nick
|
||||
|
Loading…
Reference in New Issue
Block a user