dice: only try sending something if we actually have something to say

This commit is contained in:
Brian S. Stephan 2010-08-28 14:07:00 -05:00
parent 88c83c1e45
commit 4bf2d344fc
1 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ class Dice(Module):
reply += result
if roll is not rolls[-1]:
reply += "; "
if reply is not "":
return self.reply(connection, replypath, reply)
# vi:tabstop=4:expandtab:autoindent