fix broadcast

This commit is contained in:
jomo
2014-07-04 02:00:04 +02:00
parent d07883d0c4
commit 991673779b

View File

@@ -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