Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-06-01 | m_mysql Fix escaping strings longer than MAXBUF/2 | attilamolnar | |
Quotes from the documentation: "You must allocate the to buffer to be at least length*2+1 bytes long. (In the worst case, each character may need to be encoded as using two bytes, and you need room for the terminating null byte.)" "The return value is the length of the encoded string, not including the terminating null character." http://dev.mysql.com/doc/refman/5.6/en/mysql-real-escape-string.html | |||
2013-06-01 | m_userip Allow querying own IP for non-opers, require the users/auspex priv ↵ | attilamolnar | |
for opers to query the IP of others Issue #513 suggested by @CuleX | |||
2013-05-27 | Simplify user mode removal via ModeHandler::RemoveMode() | attilamolnar | |
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 | |||
2013-05-27 | Deduplicate RemoveMode() implementations | attilamolnar | |
The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory | |||
2013-05-27 | Clean up the FileReader class and all of the modules that use it. | Peter Powell | |
- Modules which use this class will now have to catch a CoreException when opening files if they wish to ignore the failed loading of a file. - m_randquote has been cleaned up massively and the RANDQUOTE command has been removed as it was pretty much useless. | |||
2013-05-23 | m_nicklock Fix wrong hook in SetPriority() | attilamolnar | |
2013-05-23 | Change CacheRefreshTimer tick time back to 5 minutes | Adam | |
2013-05-22 | m_mysql Fix crash on rehash when the database tags have been changed in the ↵ | attilamolnar | |
config | |||
2013-05-21 | Merge pull request #545 from SaberUK/master+logging-cleanup | Attila Molnar | |
Clean up the logging system (part 1 of 2). | |||
2013-05-21 | Convert XLine::Displayable to return a std::string. | Peter Powell | |
2013-05-20 | Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to ↵ | attilamolnar | |
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 | |||
2013-05-19 | Fix spacing in calls to LogManager::Log. | Peter Powell | |
2013-05-18 | Replaced vsnprintf with VAFORMAT pretty much everywhere. | Daniel Vassdal | |
2013-05-18 | Change the signature of User::ForceNickChange() to accept const std::string& ↵ | attilamolnar | |
instead of const char* | |||
2013-05-18 | Get rid of the NICKForced extension | attilamolnar | |
Don't run OnUserPreNick when the nick change is forced | |||
2013-05-18 | Deduplicate hex string creation code | attilamolnar | |
2013-05-18 | Merge pull request #543 from SaberUK/master+sizeparam-removal | Attila Molnar | |
Remove the size argument from IsChannel and IsNick. | |||
2013-05-18 | m_channames Fix iteration in ValidateChans() | attilamolnar | |
Spotted by @Adam- | |||
2013-05-18 | Remove the size argument from IsChannel and IsNick. | Peter Powell | |
There was only one case (which was probably an error) where these methods were not set to their ServerLimits value. | |||
2013-05-18 | Purge the old chanlog code from the module file. | Peter Powell | |
2013-05-18 | m_httpd_acl Reread config on rehash | attilamolnar | |
2013-05-18 | m_geoip Set cc in OnSetConnectClass to the newly created string if it was NULL | attilamolnar | |
2013-05-16 | Fix m_randquote with 0 quotes | Adam | |
2013-05-16 | Remove unused variables, avoid copies where possible, check empty() instead ↵ | attilamolnar | |
of size() == 0 Most of these were detected by cppcheck | |||
2013-05-16 | m_joinflood Make the code friendlier, unset +j when the module is unloaded | attilamolnar | |
See 21c3232b8e0bb41727f2d65a0b2d5304587cf6be and fae560cddc389b88c9cd34afdccf9035f4d11c5b | |||
2013-05-16 | Allow spaces (and more) in oper types | attilamolnar | |
The spaces are converted to '_' characters in OPERTYPE for 2.0 servers Issue #533 suggested by @ankitkv | |||
2013-05-15 | Tidy up keywords on module methods. | Peter Powell | |
- 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. | |||
2013-05-15 | Replace some C-isms with C++-isms. | Peter Powell | |
* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask. | |||
2013-05-14 | Merge pull request #523 from SaberUK/master+server-notice | Attila Molnar | |
Add method for writing server notices. | |||
2013-05-14 | Add method for writing server notices. | Peter Powell | |
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. | |||
2013-05-14 | m_spanningtree UID handler: Fix parsing user modes | attilamolnar | |
Spotted by @ShutterQuick Issue #532 | |||
2013-05-06 | Fix an extremely low risk crash bug in m_connectban. | Peter Powell | |
2013-05-02 | m_ssl_gnutls Call gnutls_transport_set_errno() on Windows only | attilamolnar | |
2013-05-02 | Fix gnutls (again) on Windows by using gnutls_transport_set_errno() | Adam | |
2013-04-28 | Merge insp20 | attilamolnar | |
2013-04-27 | Added RMODE command per suggestion #479 | Daniel Vassdal | |
2013-04-27 | Prevent /mode from being incredible näive after failed attempt to samode a ↵ | Daniel Vassdal | |
user. | |||
2013-04-27 | Move <performance:nouserdns> to <connect:nouserdns>. | Peter Powell | |
2013-04-26 | Modularize DNS | Adam | |
The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this. | |||
2013-04-24 | m_ssl_gnutls Add ability to load DH params from file | attilamolnar | |
This greatly decreases the load time because the DH parameters no longer have to be (re)generated each time the module is loaded | |||
2013-04-23 | m_spanningtree Fix crash when connecting to a remote server that has the ↵ | attilamolnar | |
same name as we do and also there is a link block with our server name and their password See 49223cfe12ecd9071123f724e615e63841f2421d | |||
2013-04-21 | m_rline Switch to OnUserRegister hook to disconnect banned users earlier | attilamolnar | |
2013-04-21 | m_filter, m_rline Remove rlines and filters when the regex engine changes or ↵ | attilamolnar | |
becomes unavailable | |||
2013-04-21 | m_spanningtree Move CacheTimer into utils | attilamolnar | |
2013-04-21 | Timer changes and TimerManager enhancements | attilamolnar | |
Timer::Tick() now has a bool return value: if false is returned the timer is deleted using operator delete, otherwise, if it's a repeating timer then it's rescheduled (readded) Timers are removed from the TimerManager automatically at destruction Timers are now stored in a multimap instead of a sorted vector | |||
2013-04-21 | m_filter Fix memory leak on unload | attilamolnar | |
2013-04-21 | Log some internal errors on DEFAULT loglevel instead of DEBUG, log detected ↵ | attilamolnar | |
errors in m_callerid | |||
2013-04-21 | m_permchannels Workaround for alphabetical module initialization order | attilamolnar | |
Read database after all modules have been inited Add exception logging Fixes #485 reported by @gholms | |||
2013-04-19 | m_ident Invalidate cache after changing User::ident | attilamolnar | |
2013-04-19 | m_callerid Allow messaging yourself while +g regardless of the ACCEPT list | attilamolnar | |