diff --git a/include/s_conf.h b/include/s_conf.h index 557be9474..7ffa47085 100644 --- a/include/s_conf.h +++ b/include/s_conf.h @@ -312,7 +312,6 @@ struct alias_entry char *name; char *target; int flags; /* reserved for later use */ - int hits; }; /* All variables are GLOBAL */ diff --git a/ircd/newconf.c b/ircd/newconf.c index d1585c1cf..79c76bacc 100644 --- a/ircd/newconf.c +++ b/ircd/newconf.c @@ -1763,7 +1763,6 @@ conf_begin_alias(struct TopConf *tc) yy_alias->name = rb_strdup(conf_cur_block_name); yy_alias->flags = 0; - yy_alias->hits = 0; return 0; } diff --git a/modules/m_alias.c b/modules/m_alias.c index 9fe7abc78..3879a8146 100644 --- a/modules/m_alias.c +++ b/modules/m_alias.c @@ -161,9 +161,6 @@ m_alias(struct MsgBuf *msgbuf, struct Client *client_p, struct Client *source_p, return; } - /* increment the hitcounter on this alias */ - aptr->hits++; - sendto_one(target_p, ":%s PRIVMSG %s :%s", get_id(client_p, target_p), p != NULL ? aptr->target : get_id(target_p, target_p),