for botitem in bot.parent.bots.values():
bot.conn.send("QUIT :Restarting. %s" % (quitmsg))
sys.exit(0)
- os._exit(0)
@lib.hook(needchan=False, glevel=lib.MANAGER)
@lib.help("<mod>", "loads a module")
fmt = "%(auth)s"
if showglevel and user.glevel >= 1:
- fillers['glevel'] = user.glevel
- fmt += " (global access: %(glevel)s)"
+ fillers['glevel'] = user.glevel
+ fmt += " (global access: %(glevel)s)"
elif user.glevel >= 1:
fmt += " (staff)"
+ elif user.glevel <= -2:
+ fmt += " (ignored)"
else:
fmt += " (not staff)"