]> jfr.im git - irc/quakenet/snircd.git/commit - ircd/m_join.c
Add gline_lookup_badchan, replacing gline_find in badchan. This deals with the case...
authorpaul <redacted>
Mon, 7 Aug 2006 16:54:00 +0000 (17:54 +0100)
committerpaul <redacted>
Mon, 7 Aug 2006 16:54:00 +0000 (17:54 +0100)
commitd29f77ca4252e37c7dbbb4e32bd93ffe86da9d01
treebf4dcc73b4d82e71dc209cff3fce718355403a6f
parent9826eca085836b5325c89b5c3e99d161f65a60fc
Add gline_lookup_badchan, replacing gline_find in badchan. This deals with the case where gline_find aborts on an inactive gline. gline_lookup for host glines deals with this case, gline_Find returns any gline.

In gline.c, always loop+call match over the channels. This deals with the case where an oper wishes to gline a channel containing a * or other similar character - as we only call find_channel, for a channel called #foo*, you would gline #foo\* which is not what find_channel expects. Albeit, this code will be more intensive then the previous version.
include/gline.h
ircd/gline.c
ircd/m_join.c