| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
Have each module validate the values it loads before setting them, so
any errors don't result in partial application of the configs
|
| |
|
|
|
| |
The appropriate numeric response when a user has the censor mode
enabled is ERR_CANTSENDTOUSER not ERR_CANTSENDTOUSER.
|
| |
|
|
|
| |
- ERR_CANNOTSENDTOCHAN only takes the channel name and a message.
- ERR_INVALIDCAPCMD is 410 not 232.
|
| |
|
|
|
|
| |
There is no reason for these responses to have their own numerics
when other modules do not. The only thing this does is make life
harder for client developers.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Move all message-related types to their own header to make moving
them to a cross-module events easier.
- Rename OnUserMessage to OnUserPostMessage.
- Rename OnText to OnUserMessage.
- Replace the dest, target_type, and status parameters with the
MessageTarget class.
- Replace the text, exempt_list, and msgtype parameters with the
MessageDetails struct.
- Add echooriginal and originaltext to the MessageDetails struct
to allow spam filtering to not be broken by cap echo-message.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Avoids a call to the templated ConvToStr() which uses std::stringstream for conversion
|
| | |
|
| |\ |
|
| | | |
|
| | |
| |
| |
| | |
parameters
|
| | |
| |
| |
| | |
Extensible storage
|
| | | |
|
| | |
| |
| |
| | |
automatically
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
and on rehash
This eliminates the need for calling OnRehash() in init()
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
with ModeHandlers, part 1
|
| | |
| |
| |
| |
| |
| | |
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.
|
| |/ |
|
| |
|
|
| |
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
|
| | |
|
| |
|
|
|
|
| |
std::string::c_str() when the object is temporary
See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
|
| | |
|
| | |
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12502 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12414 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12278 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@11977 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11904 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
|
|
| |
[jackmcbarn]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11858 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11855 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11809 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11799 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11701 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11697 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
|
|
|
|
|
|
| |
API change: Commands passed to AddCommand are no longer deleted automatically
This removes lots of needless heap allocation and fixes a few memory leaks by
allocating commands and modes as part of the Module rather than creating them
separately in the module constructor.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11592 e03df62e-2008-0410-955e-edbf42e46eb7
|