diff --git a/src/mod/irc.mod/irc.c b/src/mod/irc.mod/irc.c index 788f49650..73e82b310 100644 --- a/src/mod/irc.mod/irc.c +++ b/src/mod/irc.mod/irc.c @@ -232,7 +232,6 @@ static void maybe_revenge(struct chanset_t *chan, char *whobad, struct userrec *u, *u2; memberlist *m; - if (!chan || (type < 0)) return; @@ -241,7 +240,6 @@ static void maybe_revenge(struct chanset_t *chan, char *whobad, m = ismember(chan, badnick); u = get_user_from_channel(m); - /* Get info about victim */ victim = splitnick(&whovictim); m = ismember(chan, victim);