Age | Commit message (Collapse) | Author |
|
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">
|
|
- Rework the code flow to be more readable.
- Ensure that the name is well formed.
- Allow prefix modes with a rank of zero.
|
|
|
|
|
|
|
|
|
|
- Remove default constructor
- Replace virtual functions returning C strings with functions returning const std::string refs
|
|
Move Channel::SetPrefix() into Membership
|
|
|
|
ModeHandler::GetPrefixRank() to be non-virtual
|
|
The function does not need to be virtual because the core can remove any user mode using the default logic
The optional modestack parameter was always NULL, so remove it
|
|
The default (core) implementation can now remove prefix modes
The modestacker parameter is now mandatory
|
|
- Remove virtual keyword from a ton of methods which don't need it.
- Add override keyword to a ton of methods which do need it.
|
|
|
|
|
|
|
|
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12571 e03df62e-2008-0410-955e-edbf42e46eb7
|
|
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12503 e03df62e-2008-0410-955e-edbf42e46eb7
|