for (i=0;i<np->channels->cursi;i++) {
clen+=cs[i]->index->name->length;
- hash ^= (unsigned int )cs[i];
+ hash ^= (unsigned long)cs[i];
}
mhash=hash%CPHASHSIZE;
char buf[1024];
unsigned int repwidth=80;
unsigned int bufpos;
-
+ searchCtx ctx;
+
controlreply(sender,"============================================================");
if (cpp->ccount==0) {
controlreply(sender," %s",buf);
controlreply(sender,"Users (%u):",cpp->clones);
-
+
+ ctx.reply = controlreply;
for (i=0;i<cpp->clones;i++) {
- printnick(sender,cpp->nicks[i]);
+ printnick(&ctx, sender,cpp->nicks[i]);
}
}