2 # Parent 18bf4aaa5854bbfc71fde928990a073da78a8496
4 diff -r 18bf4aaa5854 ircd/ircd_relay.c
5 --- a/ircd/ircd_relay.c Fri Jul 19 22:01:42 2013 +0100
6 +++ b/ircd/ircd_relay.c Fri Jul 19 22:05:24 2013 +0100
11 + /* slug: I don't think this is required, but I might have missed something */
12 + if (IsAccountOnly(acptr) && !IsAccount(sptr) && !IsXtraOp(sptr))
15 if (!(is_silenced(sptr, acptr)))
16 sendcmdto_one(sptr, CMD_PRIVATE, acptr, "%s :%s", name, text);
22 + if (IsAccountOnly(acptr) && !IsAccount(sptr) && !IsXtraOp(sptr))
25 if (!(is_silenced(sptr, acptr)))
26 sendcmdto_one(sptr, CMD_NOTICE, acptr, "%s :%s", name, text);
32 - if (IsAccountOnly(acptr) && !IsAccount(sptr) && !IsOper(sptr)) {
33 + if (IsAccountOnly(acptr) && !IsAccount(sptr) && !IsXtraOp(sptr)) {
34 send_reply(sptr, ERR_ACCOUNTONLY, cli_name(acptr), feature_str(FEAT_URLREG));
41 - if (IsAccountOnly(acptr) && !IsAccount(sptr) && !IsOper(sptr))
42 + if (IsAccountOnly(acptr) && !IsAccount(sptr) && !IsXtraOp(sptr))
46 diff -r 18bf4aaa5854 ircd/m_invite.c
47 --- a/ircd/m_invite.c Fri Jul 19 22:01:42 2013 +0100
48 +++ b/ircd/m_invite.c Fri Jul 19 22:05:24 2013 +0100
51 /* If we get here, it was a VALID and meaningful INVITE */
53 - if (IsAccountOnly(acptr) && !IsAccount(sptr) && !IsOper(sptr)) {
54 + if (IsAccountOnly(acptr) && !IsAccount(sptr) && !IsXtraOp(sptr)) {
55 send_reply(sptr, ERR_ACCOUNTONLY, cli_name(acptr), feature_str(FEAT_URLREG));