I have a tentative patch for skip_target() that handles Unreal's multi-prefix NOTICEs. I'm thinking that it's a bit hackish atm however, so want to know how I can get access to the isupport PREFIXes so that I can support any prefix.
This is what I have at the moment, and it works for me.
static const char *skip_target(const char *target)
{
while ((target[i] == '~') || (target[i] == '&') || (target[i] ==
'@') || (target[i] == '%') || (target[i] == '+')) {
i++;
};
if(ischannel(target[i])) {
target += i;
};
return target;
}
I would appreciate pointers however on making this more universal, as I
doubt that it will be accepted as-is.
--
[Crash programs] fail because they are based on the theory that, with
nine women pregnant, you can get a baby a month.
-- Wernher von Braun
pgpt4us06vpWq.pgp
Description: PGP signature
