small bugfixes

This commit is contained in:
jomo
2014-08-07 22:41:02 +02:00
parent 6c164a054a
commit f9e09d0f86
2 changed files with 9 additions and 5 deletions

View File

@@ -30,10 +30,8 @@ def print_lol(sender, lid):
broadcast(None, "&8[&blol&8] &7%s&8: &e%s" % (dispname, lols[lid]))
last_msg = time()
else:
plugin_header(sender, "SayLol")
msg(sender, "&cInvalid id")
else:
plugin_header(sender, "SayLol")
msg(sender, "&cYou can use SayLol again in &a%s seconds!" % int(timeout + 1 - (time() - last_msg)))