~rcr/rirc

5209a25e2b657f9fbacb21da9fd1292ed359e119 — Richard Robbins a month ago 860ec62
remove unfinished ignore list
3 files changed, 0 insertions(+), 9 deletions(-)

M src/components/server.c
M src/components/server.h
M src/handlers/irc_recv.c
M src/components/server.c => src/components/server.c +0 -2
@@ 154,8 154,6 @@ server_free(struct server *s)
{
	channel_list_free(&(s->clist));

	user_list_free(&(s->ignore));

	free((void *)s->host);
	free((void *)s->port);
	free((void *)s->pass);

M src/components/server.h => src/components/server.h +0 -1
@@ 34,7 34,6 @@ struct server
	struct mode_cfg mode_cfg;
	struct server *next;
	struct server *prev;
	struct user_list ignore;
	unsigned ping;
	unsigned connected  : 1;
	unsigned quitting   : 1;

M src/handlers/irc_recv.c => src/handlers/irc_recv.c +0 -6
@@ 1112,9 1112,6 @@ recv_notice(struct server *s, struct irc_message *m)
	if (!irc_message_param(m, &message))
		failf(s, "NOTICE: message is null");

	if (user_list_get(&(s->ignore), s->casemapping, m->from, 0))
		return 0;

	if (IS_CTCP(message))
		return ctcp_response(s, m->from, target, message);



@@ 1222,9 1219,6 @@ recv_privmsg(struct server *s, struct irc_message *m)
	if (!irc_message_param(m, &message))
		failf(s, "PRIVMSG: message is null");

	if (user_list_get(&(s->ignore), s->casemapping, m->from, 0))
		return 0;

	if (IS_CTCP(message))
		return ctcp_request(s, m->from, target, message);