Remove useless alias_entry hits member
This commit is contained in:
parent
0d7e4d311a
commit
999c42bad8
3 changed files with 0 additions and 5 deletions
|
@ -312,7 +312,6 @@ struct alias_entry
|
||||||
char *name;
|
char *name;
|
||||||
char *target;
|
char *target;
|
||||||
int flags; /* reserved for later use */
|
int flags; /* reserved for later use */
|
||||||
int hits;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* All variables are GLOBAL */
|
/* All variables are GLOBAL */
|
||||||
|
|
|
@ -1763,7 +1763,6 @@ conf_begin_alias(struct TopConf *tc)
|
||||||
yy_alias->name = rb_strdup(conf_cur_block_name);
|
yy_alias->name = rb_strdup(conf_cur_block_name);
|
||||||
|
|
||||||
yy_alias->flags = 0;
|
yy_alias->flags = 0;
|
||||||
yy_alias->hits = 0;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -161,9 +161,6 @@ m_alias(struct MsgBuf *msgbuf, struct Client *client_p, struct Client *source_p,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* increment the hitcounter on this alias */
|
|
||||||
aptr->hits++;
|
|
||||||
|
|
||||||
sendto_one(target_p, ":%s PRIVMSG %s :%s",
|
sendto_one(target_p, ":%s PRIVMSG %s :%s",
|
||||||
get_id(client_p, target_p),
|
get_id(client_p, target_p),
|
||||||
p != NULL ? aptr->target : get_id(target_p, target_p),
|
p != NULL ? aptr->target : get_id(target_p, target_p),
|
||||||
|
|
Loading…
Reference in a new issue