Hooks.regHook(this, Hooks.Events.E_KICK);
Hooks.regHook(this, Hooks.Events.E_MODE);
Hooks.regHook(this, Hooks.Events.E_TOPIC);
// start a thread to clear expired channels
util.startThread(new Thread(new SrvChannel_ExpiryThread())).start();
Logging.info("SRVCHAN", "Expiry thread started...");
if (!(Configuration.Config.get("debugchan").equals("OFF"))) {
Generic.curProtocol.srvJoin(this, Configuration.Config.get("debugchan"), "+stn");
Generic.curProtocol.outSETMODE(this, Configuration.Config.get("debugchan"), "+o", name);