View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002915 | unreal | ircd | public | 2006-05-11 18:08 | 2021-11-01 16:56 |
Reporter | hmtX | Assigned To | syzop | ||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | no change required | ||
OS | all | OS Version | all | ||
Product Version | 3.2.4 | ||||
Summary | 0002915: global /notice #<host> does not work | ||||
Description | I've seen in the code that just like /notice $<servername> will send a notice to all users on a matching server name, /notice #<host> is supposed to send a notice to all users that match the specified hostmask. However you'll always get a user/channel not found error. Snipped from m_message.c: ... p2 = (char *)strchr(nick, '#'); ... else if (p2) { sendto_one(sptr, err_str(ERR_NOSUCHNICK), me.name, parv[0], p2); continue; } /* ** the following two cases allow masks in NOTICEs ** (for OPERs only) ** ** Armin, 8Jun90 ([email protected]) */ if ((*nick == '$' || *nick == '#') && (IsAnOper(sptr) || IsULine(sptr))) { ... sendto_match_butone(IsServer(cptr) ? cptr : NULL, sptr, nick + 1, (*nick == '#') ? MATCH_HOST : MATCH_SERVER, ":%s %s %s :%s", parv[0], cmd, nick, parv[2]); I don't see how the second case with *nick == '#' can ever happen. | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
has duplicate | 0003899 | closed | PRIVMSG to #<hostmask/wildcardmask> doesn't work. |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-05-11 18:08 | hmtX | New Issue | |
2006-05-11 18:39 | hmtX | Note Added: 0011695 | |
2007-04-27 03:38 |
|
Status | new => acknowledged |
2007-04-27 03:38 |
|
Category | module => ircd |
2010-04-15 08:57 | driew | Note Added: 0016065 | |
2010-05-06 03:08 | ohnobinki | Relationship added | has duplicate 0003899 |
2021-11-01 16:56 | syzop | Assigned To | => syzop |
2021-11-01 16:56 | syzop | Status | acknowledged => closed |
2021-11-01 16:56 | syzop | Resolution | open => no change required |
2021-11-01 16:56 | syzop | Note Added: 0022153 |