dice: only try sending something if we actually have something to say
This commit is contained in:
parent
88c83c1e45
commit
4bf2d344fc
@ -93,7 +93,7 @@ class Dice(Module):
|
|||||||
reply += result
|
reply += result
|
||||||
if roll is not rolls[-1]:
|
if roll is not rolls[-1]:
|
||||||
reply += "; "
|
reply += "; "
|
||||||
|
if reply is not "":
|
||||||
return self.reply(connection, replypath, reply)
|
return self.reply(connection, replypath, reply)
|
||||||
|
|
||||||
# vi:tabstop=4:expandtab:autoindent
|
# vi:tabstop=4:expandtab:autoindent
|
||||||
|
Loading…
Reference in New Issue
Block a user