registercontrolhelpcmd("spewchan", NO_OPER, 1, &controlspewchan, "Usage: spewchan <pattern>\nShows all channels which are matched by the given pattern");
- registercontrolhelpcmd("spew", NO_OPER, 1, &controlspew, "Usage: spewchan <pattern>\nShows all userss which are matched by the given pattern");
+ registercontrolhelpcmd("spew", NO_OPER, 1, &controlspew, "Usage: spew <pattern>\nShows all userss which are matched by the given pattern");
- registercontrolhelpcmd("resync", NO_OPER, 1, &controlresync, "Usage: resync <channel>\nResyncs a desynched channel");
+ /* doesnt seem to work for me + pointless command?(paul)
+ registercontrolhelpcmd("resync", NO_OPER, 1, &controlresync, "Usage: resync <channel>\nResyncs a desynched channel"); */
registercontrolhelpcmd("broadcast", NO_OPER, 1, &controlbroadcast, "Usage: broadcast <text>\nSends a message to all users.");
registercontrolhelpcmd("obroadcast", NO_OPER, 1, &controlobroadcast, "Usage: obroadcast <text>\nSends a message to all IRC operators.");
deregistercontrolcmd("mbroadcast", controlmbroadcast);
deregistercontrolcmd("broadcast", controlbroadcast);
- deregistercontrolcmd("resync", controlresync);
+ /* deregistercontrolcmd("resync", controlresync); */
deregistercontrolcmd("spew", controlspew);
deregistercontrolcmd("spewchan", controlspewchan);
return CMD_USAGE;
tree = NSASTNode(match_parse, NSASTNode(hostmask_parse), NSASTLiteral(cargv[0]));
- return ast_nicksearch(tree, controlreply, sender, controlnswall, printnick, 500);
+ return ast_nicksearch(tree, controlreply, sender, controlnswall, printnick, NULL, NULL, 500);
}
/* this function is the definition of horrible */