fix plugin_header
This commit is contained in:
2
misc.py
2
misc.py
@@ -147,7 +147,7 @@ def on_pyeval_command(sender, args):
|
|||||||
|
|
||||||
@hook.command("modules")
|
@hook.command("modules")
|
||||||
def on_modules_command(sender, args):
|
def on_modules_command(sender, args):
|
||||||
plugin_header("Modules")
|
plugin_header(sender, "Modules")
|
||||||
for mod in shared["load_modules"]:
|
for mod in shared["load_modules"]:
|
||||||
color = "a" if mod in shared["modules"] else "c"
|
color = "a" if mod in shared["modules"] else "c"
|
||||||
msg(sender, "&" + color + mod)
|
msg(sender, "&" + color + mod)
|
||||||
Reference in New Issue
Block a user