| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
The former was a thin wrapper around atol and brought with it all
of the weird parsing logic of atol which is almost never what is
actually wanted. It also almost never returned the numeric type
which is actually wanted which can cause weird issues when casting.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
This is presently a typedef but will soon be replaced with a class
that encapsulates both tags and parameters.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
- The ACCEPT=[count] token specifies the maximum amount of nicks
which can be added to a m_callerid accept list. This token was
added by ircd-ratbox in 3.0.9.
- The KEYLEN=[length] token specifies the maximum length of a
channel key. This token was added by ircd-ratbox in 3.1 beta.
For more info see http://defs.ircdocs.horse/defs/isupport.html
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| | |
|
| |
|
|
| |
GCCs warnings for this are much better than Clangs.
|
| | |
|
| | |
|
| |
|
|
|
| |
This removes the need to invalidate the cache after changing a
user's hostname.
|
| | |
|
| |
|
|
| |
numerics to it
|
| |
|
|
| |
parameters
|
| |\ |
|
| | | |
|
| | |
| |
| |
| |
| | |
- InspIRCd::FindUUID() and FindNick() no longer return FakeUsers so checking the user returned from those methods is needless
- m_dccallow is calling FindNickOnly() so it had the check needlessly
|
| | |
| |
| |
| | |
Issue #1051
|
| | | |
|
| | |
| |
| |
| | |
Extensible storage
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |\| |
|
| | | |
|
| |\| |
|
| | |
| |
| |
| | |
action to prevent UID walking
|
| | |
| |
| |
| |
| | |
Fixes #696
Does not apply to 2.2 due to Attila's rewrite of the module
|
| | |
| |
| |
| | |
Do processing in OnUserPreMessage()
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
- Rehash notices
- Modes in CAPAB
- GetTargetAndAction() not being static in m_callerid
- Loading custom configuration files using --config. (@SaberUK)
- ServerConfig::Read not using std::endl. (@SaberUK)
- Out of date comments in opers.conf.example, issue #624
|
| | |
| |
| |
| | |
users...
|
| | |
| |
| |
| | |
automatically
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
and on rehash
This eliminates the need for calling OnRehash() in init()
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
The majority of modules were logging with their module name as the
log type. There was a few places which were logging to a non-name
type but, with the exception of CONFIG, those messages are so
uncommon that it doesn't make sense to use a seperate type for
them.
|
| | | |
|
| | |
| |
| |
| | |
with ModeHandlers, part 1
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
METADATA at all
ACCEPTs coming from 2.0 servers with a list of uuids are broadcast, as before
|
| | |
| |
| |
| |
| |
| | |
- Change function to be static, return a bool
- Do not filter duplicates when there are 2 lists (JOIN)
- Remove validation of 'extra' parameter, caller must pass either a valid index or -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.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\| |
|
| | |
| |
| |
| | |
errors in m_callerid
|