You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@cottongin rightly pointed out on IRC that sometimes it's desirable to remove modes the IRC server sets by default. While some IRCds will happily accept MODE nickname +-abc (like freenode's), it's not a universal workaround.
I'm happy to add this to 7.1 because 1) it's a pretty trivial change to implement and 2) there's an obvious backward-compatible way to parse the setting.
Proposal: Add the leading + automatically only if the core.modes setting doesn't contain a prefix character (+ or -).
The text was updated successfully, but these errors were encountered:
The
core.modes
setting is assumed to be just a string of letters, and the leading+
is assumed bycoretasks
:sopel/sopel/coretasks.py
Lines 155 to 156 in a33caf1
@cottongin rightly pointed out on IRC that sometimes it's desirable to remove modes the IRC server sets by default. While some IRCds will happily accept
MODE nickname +-abc
(like freenode's), it's not a universal workaround.I'm happy to add this to 7.1 because 1) it's a pretty trivial change to implement and 2) there's an obvious backward-compatible way to parse the setting.
Proposal: Add the leading
+
automatically only if thecore.modes
setting doesn't contain a prefix character (+
or-
).The text was updated successfully, but these errors were encountered: