-
and add && !IsChannelService(cptr) too, in fact, you should excempt anything that is not bound to the maxchan limit.
2009-09-20 11:28:40 UTC in Undernet IRC Server Development
-
Make that:
if ((int)(cli_user(cptr))->invites >=
feature_int(FEAT_MAXCHANNELSPERUSER) && !is_oper(cptr) && !IsChannelService(cptr))
Channelservices also should not have a limit :)
2009-09-20 11:23:27 UTC in Undernet IRC Server Development
-
During checking the autoinvite feature an ircop/csc member pointed out that certain invites where missing, trying to track down the issue I found the following in the current svn code that might be the reason:
78 if ((int)(cli_user(cptr))->invites >= feature_int(FEAT_MAXCHANNELSPERUSER))
79 del_invite(cptr, (cli_user(cptr))->invited->value.chptr);
Since ircops are not bound to...
2009-09-20 11:18:00 UTC in Undernet IRC Server Development