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