*/
#include "stdinc.h"
#include "hook.h"
-#include "irc_string.h"
+#include "match.h"
hook *hooks;
int h_server_introduced;
int h_server_eob;
int h_client_exit;
+int h_umode_changed;
int h_new_local_user;
int h_new_remote_user;
int h_introduce_client;
if((i = find_hook(name)) < 0)
{
i = find_freehookslot();
- DupString(hooks[i].name, name);
+ hooks[i].name = rb_strdup(name);
num_hooks++;
}