Age | Commit message (Collapse) | Author |
|
This fixes #1431 and closes #1432.
|
|
|
|
This replaces the devoice module which has now been removed. If you
want users to be able to devoice themselves then you can load the
customprefix module add the following config tag:
<customprefix name="voice" depriv="yes">
If you wish to keep identical behaviour rather than allowing users
to use "MODE #YourChannel -v TheirNick" then you can load the alias
module and add the following config tag:
<alias text="DEVOICE" format="#*" replace="MODE $2 -v $nick">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mark the method as const
|
|
|
|
|
|
|
|
|
|
parameters
|
|
|
|
substr() returns a new string while erase() and assign() modify the existing one
|
|
Extensible storage
|
|
|
|
ModeHandlers to do it
|
|
This is now handled by m_hidelist
|
|
- Process() that takes a std::vector<std::string>
- DisplayCurrentModes()
- DisplayListModes()
|
|
ShowListModeList() sends the list of one listmode to a user, DisplayListMode() calls it for each mode letter
|
|
|
|
This gets rid of the duplicated mode parsing logic in m_namedmodes
|
|
ModeParser::ModeParamsToChangeList()
This helps spanningtree when it deals with a vector of parameters where the modes begin at different positions
|
|
|
|
Modes::ChangeList
This is a wrapper that calls ProcessSingle() repeatedly until the entire changelist is processed
|
|
Return number of processed mode changes from ModeParser::ProcessSingle() and add a begin index parameter
|
|
|
|
|
|
|
|
This applies up to one MODE line's worth of mode changes from a Modes::ChangeList
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ModeProcessFlags too
|
|
|
|
Also change the signature of DisplayListModes() to accept a const ref
|
|
There is no benefit in using a stringstream here
|
|
|
|
|
|
|
|
|
|
never NULL
|