Changeset 563 in code for trunk/upstream.go


Ignore:
Timestamp:
Jun 23, 2021, 5:23:09 PM (4 years ago)
Author:
contact
Message:

Allow admins to broadcast message to all bouncer users

Typically done via:

/notice $<bouncer> <message>

Or, for a connection not bound to a specific network:

/notice $* <message>

The message is broadcast as BouncerServ, because that's the only
user that can be trusted to belong to the bouncer by users. Any
other prefix would conflict with the upstream network.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upstream.go

    r561 r563  
    17691769        }
    17701770
     1771        // Don't store messages with a server mask target
     1772        if strings.HasPrefix(entity, "$") {
     1773                return ""
     1774        }
     1775
    17711776        entityCM := uc.network.casemap(entity)
    17721777        if entityCM == "nickserv" {
Note: See TracChangeset for help on using the changeset viewer.