fix plugin title

This commit is contained in:
jomo
2014-07-04 01:53:33 +02:00
parent 340e09777e
commit f9744d787c

View File

@@ -5,14 +5,14 @@ motd = server.getMotd()
@hook.command("getmotd")
def onGetMotdCommand(sender, args):
plugHeader("MOTD")
plugHeader(sender "MOTD")
msg(sender, motd, usecolor=False)
@hook.command("setmotd")
def onSetMotdCommand(sender, args):
global motd
plugHeader("MOTD")
plugHeader(sender, "MOTD")
if sender.hasPermission("utils.setmotd"):
if not checkargs(sender, args, 1, -1):
return True