]> jfr.im git - irc/unrealircd/unrealircd.git/commitdiff
- #0003272 patched by w00t, regarding remove restrictions on NOTICE/PRIVMSG for...
authorstskeeps <redacted>
Tue, 24 Apr 2007 11:04:07 +0000 (11:04 +0000)
committerstskeeps <redacted>
Tue, 24 Apr 2007 11:04:07 +0000 (11:04 +0000)
Changes
src/modules/m_message.c

diff --git a/Changes b/Changes
index fdeeb43a384d22bdf959e1f3790881e1e4638bd8..5f6e1334b946bce5b01e08e5741388185fbb5202 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1611,3 +1611,4 @@ MOTDs
 - #0002846 reported by alex323, patched by WolfSage, regarding local ircop cannot issue CLOSE command 
 - #0002685 reported by w00t, patched by WolfSage, regarding useless if () in m_help.c 
 - #0003232 reported by vonitsanet patched by djGrr, regarding /map is not shown u:lined servers to local opers and /links does. 
+- #0003272 patched by w00t, regarding remove restrictions on NOTICE/PRIVMSG $* for opers. 
index fa31dfa09d10cf51c36fdbf0439fb6a8045175de..d9860c3222551c078ccb7a0121d56802f8e599fc 100644 (file)
@@ -508,24 +508,6 @@ DLLFUNC int m_message(aClient *cptr, aClient *sptr, int parc, char *parv[], int
                if ((*nick == '$' || *nick == '#') && (IsAnOper(sptr)
                    || IsULine(sptr)))
                {
-                       if (IsULine(sptr))
-                               goto itsokay;
-                       if (!(s = (char *)rindex(nick, '.')))
-                       {
-                               sendto_one(sptr, err_str(ERR_NOTOPLEVEL),
-                                   me.name, parv[0], nick);
-                               continue;
-                       }
-                       while (*++s)
-                               if (*s == '.' || *s == '*' || *s == '?')
-                                       break;
-                       if (*s == '*' || *s == '?')
-                       {
-                               sendto_one(sptr, err_str(ERR_WILDTOPLEVEL),
-                                   me.name, parv[0], nick);
-                               continue;
-                       }
-                     itsokay:
                        sendto_match_butone(IsServer(cptr) ? cptr : NULL,
                            sptr, nick + 1,
                            (*nick == '#') ? MATCH_HOST :