| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
GCCs warnings for this are much better than Clangs.
|
| | |
|
| |
|
|
| |
substr() returns a new string while erase() and assign() modify the existing one
|
| |
|
|
|
|
|
|
|
|
| |
ParamMode
- Type of the extension used to store data is a template parameter
- The extension is automatically unset when the mode is unset
- Handlers inheriting from ParamMode have to provide OnSet() and SerializeParam(); may optionally provide OnUnset()
- Transparently handle the case when OnSet() modifies the mode parameter
- Remove Channel::custom_mode_params map; ask the mode handlers to serialize their parameters instead
|
| | |
|
| |
|
|
|
|
| |
and on rehash
This eliminates the need for calling OnRehash() in init()
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
with ModeHandlers, part 1
|
| |
|
|
| |
requiring mode handlers to do it
|
| |
|
|
|
|
| |
OnUserMessage and OnUserPreMessage
All modules (except m_nonotice) that perform filtering on messages have common logic for handling PRIVMSGs and NOTICEs and most of them run the exact same code in both cases
|
| |
|
|
|
| |
- 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.
|
| |
|
|
|
|
| |
* 'const char*' to 'const std::string&'.
* snprintf to std::string concatenation.
* Replace duplicated OneOfMatches with InspIRCd::MatchMask.
|
| |
|
|
|
|
|
|
|
| |
This allows us to send a server notice to a user without worrying
about whether they are registered or not.
If a user receives a server notice and they are not registered
then the nickname field will contain an asterisk instead of their
nick name.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
|
| | |
|
| |
|
|
| |
modes are deleted automatically on unload
|
| | |
|
| | |
|
| |
|
|
| |
before playing back history, don't playback to remote users
|
| | |
|
| | |
|
| |
|
|
|
|
| |
history
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12488 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12466 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
|
|
|
| |
While irssi is currently able to show the lines sent prior to join,
it is better for this module to work on all clients without modification.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12407 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
|
|
| |
CAPAB checking)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12263 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11898 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11897 e03df62e-2008-0410-955e-edbf42e46eb7
|
|
|
channel join
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11895 e03df62e-2008-0410-955e-edbf42e46eb7
|