#include "../channel/channel.h"
#include "../control/control.h"
#include "../newsearch/newsearch.h"
+#include "../lib/version.h"
+
+MODULE_VERSION("");
#include <stdio.h>
#include <string.h>
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]);
}
}
reportprofile(sender,cpary[i]);
}
+ free(cpary);
+
controlreply(sender,"--- End of list.");
clearprofiles();