View Issue Details

IDProjectCategoryView StatusLast Update
0006491unrealircdpublic2026-09-14 13:44
Reporterwestid Assigned Tosyzop  
PrioritynormalSeveritytextReproducibilityalways
Status resolvedResolutionfixed 
Product Version6.1.9.1 
Fixed in Version6.2.8 
Summary0006491: channel privmsg / notice with prefix not sending correctly
Descriptionwhen sending a channel notice, any prefix gives to +hoaq including voice
Steps To Reproduceconnect 6 clients to server
make them all join #channelname
leave client1 with no modes
/mode #channelname +v client2
/mode #channelname +h client3
/mode #channelname +o client4
/mode #channelname +a client5
/mode #channelname +q client6

Additional Information#channelname is newly created with no third party modules or channel modes [+nt]

client6: /notice ~#channelname owner messidge
--> expected behaviour - will not be shown to other users / owners only
--> this is received by client3, client4, client5, client6

client5: /notice &#channelname channel admin messidge
--> expected behaviour - will be visible only to +aq
--> this is received by client3, client4, client5, client6

client4: /notice @#channelname channel operator messidge
--> expected behaviour - will be visible to +oaq
--> this is received by client3, client4, client5, client6

client3: /notice %#channelname half-op messidge
--> expected behaviour - will be visible to +hoaq
--> this is received by client3, client4, client5, client6

client2: /notice +#channelname voice messidge
--> expected behaviour - will be visible to +vhoaq
--> there IS an echo message if sent from client2

client1: not able to see any message
3rd party modules

Activities

westid

2024-12-24 22:15

reporter   ~0023411

/notice +#channelname by a half-op or above still only displays to +hoaq

syzop

2026-09-14 13:18

administrator   ~0023704

Last edited: 2026-09-14 13:19

Fixed in https://github.com/unrealircd/unrealircd/commit/f9a64a8878dd3ff554f02d09e27936af3580bf6b

Thanks for the report. And sorry for letting this linger. I somehow could not reproduce it earlier this year, but that must have been a mistake on my side.
Now I could reproduce it before the fix and no longer after the fix.

commit f9a64a8878dd3ff554f02d09e27936af3580bf6b (HEAD -> unreal60_dev, origin/unreal60_dev, origin/HEAD)
Author: Bram Matthys <[email protected]>
Date: Mon Sep 14 13:10:08 2026 +0200

    Fix messages with prefixes, such as ~#test always being sent to +hoaq.

    Fix provided by PeGaSuS. After someone on IRC mentioned the issue.

    The variant with +#test being delivered only to halfop and higher was
    reported by westid in https://bugs.unrealircd.org/view.php?id=6491

syzop

2026-09-14 13:44

administrator   ~0023705

Oh, I wrote in the commit text that you only reported the +#channel variant. That's wrong, i was only glancing at this bug after the fix from PeGaSuS. You reported all variants. Sorry about that :)

Issue History

Date Modified Username Field Change
2024-12-24 22:05 westid New Issue
2024-12-24 22:15 westid Note Added: 0023411
2026-09-14 13:18 syzop Assigned To => syzop
2026-09-14 13:18 syzop Status new => resolved
2026-09-14 13:18 syzop Resolution open => fixed
2026-09-14 13:18 syzop Fixed in Version => 6.2.8
2026-09-14 13:18 syzop Note Added: 0023704
2026-09-14 13:19 syzop Note Edited: 0023704
2026-09-14 13:19 syzop Note Edited: 0023704
2026-09-14 13:44 syzop Note Added: 0023705