void lua_onmode(int hooknum, void *arg) {
void **arglist = (void **)arg;
channel *cp = (channel *)arglist[0];
chanindex *ci = cp->index;
nick *np = arglist[1];
void lua_onmode(int hooknum, void *arg) {
void **arglist = (void **)arg;
channel *cp = (channel *)arglist[0];
chanindex *ci = cp->index;
nick *np = arglist[1];