diff options
author | jomo <github@jomo.tv> | 2014-07-04 02:00:04 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2014-07-04 02:00:04 +0200 |
commit | 991673779bc23de83fb172b37c9a94c7e89deda2 (patch) | |
tree | 220f07982f7155b2377850cfc8d978b0fcc953f0 /motd.py | |
parent | d07883d0c43670d47c11112a6660cf1a94a75d21 (diff) |
fix broadcast
Diffstat (limited to 'motd.py')
-rw-r--r-- | motd.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,6 @@ #pylint: disable=F0401 from helpers import * +from traceback import format_exc as print_traceback motd = server.getMotd() @@ -18,8 +19,8 @@ def onSetMotdCommand(sender, args): return True motd = colorify(" ".join(args)) - broadcast(plugHeader(name="MOTD")) - broadcast("&aNew MOTD:&r\n%s" % motd) + broadcast("", plugHeader(name="MOTD")) + broadcast("", "&aNew MOTD:&r\n%s" % motd) else: noperm(sender) return True |