mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Changed me handling in lart.
This commit is contained in:
parent
5c0ae0ecbf
commit
e689904c90
@ -146,7 +146,7 @@ class FunDB(callbacks.Privmsg):
|
|||||||
ORDER BY random()
|
ORDER BY random()
|
||||||
LIMIT 1""")
|
LIMIT 1""")
|
||||||
(id, insult) = cursor.fetchone()
|
(id, insult) = cursor.fetchone()
|
||||||
if nick.strip() in (irc.nick, 'himself'):
|
if nick.strip() in (irc.nick, 'himself', 'me'):
|
||||||
insultee = msg.nick
|
insultee = msg.nick
|
||||||
else:
|
else:
|
||||||
insultee = nick
|
insultee = nick
|
||||||
@ -312,7 +312,7 @@ class FunDB(callbacks.Privmsg):
|
|||||||
ORDER BY random()
|
ORDER BY random()
|
||||||
LIMIT 1""")
|
LIMIT 1""")
|
||||||
(id, lart) = cursor.fetchone()
|
(id, lart) = cursor.fetchone()
|
||||||
if nick == irc.nick:
|
if nick == irc.nick or nick == 'me':
|
||||||
lartee = msg.nick
|
lartee = msg.nick
|
||||||
else:
|
else:
|
||||||
lartee = nick
|
lartee = nick
|
||||||
|
Loading…
Reference in New Issue
Block a user