minor bugfixes
This commit is contained in:
parent
2d41d0c0bb
commit
98646f3226
@ -70,8 +70,8 @@ class Tell(DatabasePlugin):
|
||||
for tell in self.tell_queue[nick]:
|
||||
self.bot.privmsg(nick, '\x02[Tell]\x02 Message from {nick} at {time}: {message}'.format(
|
||||
nick=tell[0],
|
||||
time=tell[1], # TODO: format time
|
||||
message=tell[2],
|
||||
time=tell[2], # TODO: format time
|
||||
message=tell[1],
|
||||
))
|
||||
|
||||
del self.tell_queue[nick]
|
||||
|
@ -19,7 +19,7 @@ def is_int(val: str) -> bool:
|
||||
def parse_int(val: str, select: bool = True) -> Tuple[int, str]:
|
||||
try:
|
||||
val = int(val)
|
||||
if val is not 0:
|
||||
if val != 0:
|
||||
if val < 1:
|
||||
order = 'DESC'
|
||||
val *= -1
|
||||
|
Loading…
Reference in New Issue
Block a user