MODULE_VERSION("");
-#define channelhash(x) (crc32i(x)%CHANNELHASHSIZE)
+#define channelhash(x) (irc_crc32i(x)%CHANNELHASHSIZE)
unsigned long nouser;
void sendchanburst(int hooknum, void *arg);
void _init() {
- /* Initialise internal structures */
- initchannelalloc();
-
/* Set up the nouser marker according to our own numeric */
nouser=(mylongnum<<18)|CU_NOUSERMASK;
* before we register all our hooks which would otherwise get called
* during the disconnect. */
if (connected) {
- irc_send("%s SQ %s 0 :Resync [adding channel support]",mynumeric->content,myserver->content); irc_disconnected();
+ irc_send("%s SQ %s 0 :Resync [adding channel support]",mynumeric->content,myserver->content); irc_disconnected(0);
}
/* Set up our hooks */