hifi / heisenbridge

a bouncer-style Matrix IRC bridge
MIT License
241 stars 32 forks source link

Cannot unset mode on channel #249

Open JacksonChen666 opened 1 year ago

JacksonChen666 commented 1 year ago

running room <channel> mode -s will not result in a channel with the s channel flag removed, because -s is interpreted as an argument to the command, resulting in the command failing due to an unknown argument.

workaround: use the RAW command to heisenbridge, like RAW "MODE <channel> -s" (quote is necessary). IRC RFC modes ref

hifi commented 1 year ago

room <channel> mode -- -s should work. Heisenbridge uses command line parser so it's a little odd.

JacksonChen666 commented 1 year ago

room <channel> mode -- -s should work.

that works