aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Expand)AuthorAgeFilesLines
...
* | | Purge the old chanlog code from the module file.Gravatar Peter Powell2013-05-181-54/+0
|/ /
* | m_joinflood Make the code friendlier, unset +j when the module is unloaded•••See 21c3232b8e0bb41727f2d65a0b2d5304587cf6be and fae560cddc389b88c9cd34afdccf9035f4d11c5b Gravatar attilamolnar2013-05-161-89/+41
* | Allow spaces (and more) in oper types•••The spaces are converted to '_' characters in OPERTYPE for 2.0 servers Issue #533 suggested by @ankitkv Gravatar attilamolnar2013-05-166-6/+21
* | Tidy up keywords on module methods.•••- 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. Gravatar Peter Powell2013-05-15160-790/+789
* | Replace some C-isms with C++-isms.•••* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask. Gravatar Peter Powell2013-05-1510-88/+20
* | Merge pull request #523 from SaberUK/master+server-notice•••Add method for writing server notices.Gravatar Attila Molnar2013-05-1451-133/+127
|\ \
| * | Add method for writing server notices.•••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. Gravatar Peter Powell2013-05-1451-133/+127
* | | m_spanningtree UID handler: Fix parsing user modes•••Spotted by @ShutterQuick Issue #532 Gravatar attilamolnar2013-05-141-3/+5
|/ /
* | Merge insp20Gravatar attilamolnar2013-04-2813-122/+312
|\|
| * m_ssl_gnutls Add ability to load DH params from file•••This greatly decreases the load time because the DH parameters no longer have to be (re)generated each time the module is loaded Gravatar attilamolnar2013-04-241-2/+23
| * m_spanningtree Fix crash when connecting to a remote server that has the same...•••See 49223cfe12ecd9071123f724e615e63841f2421d Gravatar attilamolnar2013-04-231-2/+3
| * m_rline Switch to OnUserRegister hook to disconnect banned users earlierGravatar attilamolnar2013-04-211-2/+10
| * m_filter, m_rline Remove rlines and filters when the regex engine changes or ...Gravatar attilamolnar2013-04-212-16/+79
| * m_filter Fix memory leak on unloadGravatar attilamolnar2013-04-211-0/+17
| * Log some internal errors on DEFAULT loglevel instead of DEBUG, log detected e...Gravatar attilamolnar2013-04-211-0/+11
| * m_permchannels Workaround for alphabetical module initialization order•••Read database after all modules have been inited Add exception logging Fixes #485 reported by @gholms Gravatar attilamolnar2013-04-211-8/+32
| * m_ident Invalidate cache after changing User::identGravatar attilamolnar2013-04-191-0/+1
| * m_callerid Allow messaging yourself while +g regardless of the ACCEPT listGravatar attilamolnar2013-04-191-1/+1
| * m_spanningtree Fix IS_LOCAL() check in OnRehash handlerGravatar attilamolnar2013-04-181-1/+1
| * m_callerid Ignore duplicate entries when unserializing callerid_dataGravatar attilamolnar2013-04-181-3/+5
| * m_callerid Fix bookkeeping error introduced when unserializing callerid_data•••This also fixes a memory leak that didn't occur naturally but was triggerable by remote servers Thanks to @SimosNap for the report Gravatar attilamolnar2013-04-181-22/+23
| * Fix m_ssl_gnutls and perhaps some other things on Windows by recognizing WSAE...Gravatar Adam2013-04-161-0/+12
| * m_kicknorejoin Store and compare uuids instead pointers•••Fixes the off chance scenario where we disallow a join because a previously kicked user has quit and the User who is trying to join happens to be allocated at the exact same memory location Gravatar attilamolnar2013-04-161-3/+3
| * m_kicknorejoin Limit time to 30m by default•••In the current implementation we only expire entries when someone joins, without a limit it was possible to make us practically never remove entries and consume (a tiny amount of) memory for each entry until the mode was removed/parameter was changed The default limit of 30m is chosen to not surprise people when they upgrade. If you need to prevent rejoins for more than a minute then you should set a (timed)ban instead Config option is available to change the limit (2.0 only) Gravatar attilamolnar2013-04-161-14/+37
| * m_kicknorejoin Minor improvements•••- Ignore remote users - Remove expired items in one pass Gravatar attilamolnar2013-04-161-8/+4
| * m_spanningtree Create new TreeServers for incoming connections only when they...Gravatar attilamolnar2013-04-103-25/+60
| * Remove some uline checks that ran after an IS_LOCAL() checkGravatar attilamolnar2013-04-092-19/+2
* | Added RMODE command per suggestion #479Gravatar Daniel Vassdal2013-04-271-0/+129
* | Prevent /mode from being incredible näive after failed attempt to samode a u...Gravatar Daniel Vassdal2013-04-271-1/+1
* | Move <performance:nouserdns> to <connect:nouserdns>.Gravatar Peter Powell2013-04-271-3/+2
* | Modularize DNS•••The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this. Gravatar Adam2013-04-267-188/+231
* | m_spanningtree Move CacheTimer into utilsGravatar attilamolnar2013-04-216-46/+21
* | Timer changes and TimerManager enhancements•••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 Gravatar attilamolnar2013-04-214-8/+15
* | Fix building with libc++.•••- Purged std::tr1::strlower (was never used). - Moved std::tr1::insensitive to irc::insensitive. - Added TR1NS macro to point to the correct C++ TR1 namespace. Gravatar Peter Powell2013-04-192-7/+2
* | Use std::string internally in UIDGenerator, move UUID_LENGTH into the class a...Gravatar attilamolnar2013-04-142-2/+2
* | m_spanningtree Remove redundant first parameter of PING/PONGGravatar attilamolnar2013-04-134-51/+61
* | m_spanningtree Ignore hopcount in incoming SERVER command, always send 0 at b...Gravatar attilamolnar2013-04-133-31/+8
* | m_spanningtree Netburst: If a topic was ever set, send it even if it's empty•••A new but empty topic should override a non-empty old topic Gravatar attilamolnar2013-04-131-1/+4
* | Merge pull request #476 from SaberUK/master+allowcoreunload•••Add <security:allowcoreunload>.Gravatar Attila Molnar2013-04-131-0/+7
|\ \
| * | Add <security:allowcoreunload>.•••When enabled (the default) this setting prevents the unloading of core modules such as cmd_privmsg. Gravatar Peter Powell2013-04-131-0/+7
* | | m_spanningtree Add channel timestamp to FTOPICGravatar attilamolnar2013-04-135-7/+39
* | | m_spanningtree Add channel timestamp to channel METADATAGravatar attilamolnar2013-04-136-11/+91
|/ /
* | m_spanningtree Introduce IJOIN and RESYNC•••When a local user joins an existing channel, instead of an FJOIN, send an IJOIN with the channel name being the first parameter. If the joining user received prefix modes, append the channel TS and the prefix mode letters as the second and third parameters. When receiving an IJOIN, first check if the target channel exists. If it does not exist, ignore the join (that is, do not create the channel) and send a RESYNC back to the source. If the channel does exist then join the user, and in case any prefix modes were sent (found in the 3rd parameter), compare the TS of the channel to the TS in the IJOIN (2nd parameter). If the timestamps match, set the modes on the user, otherwise ignore the modes. Outgoing IJOINs to 1202 protocol servers are converted to FJOINs, but the channel mode parameter is left empty ("+"). Gravatar attilamolnar2013-04-134-10/+183
* | m_spanningtree Bump protocol version and remove unused CAPAB CAPABILITIES ent...Gravatar attilamolnar2013-04-132-20/+24
* | Channel::JoinUser() and Channel::ForceChan() changes•••Convert static Channel::ForceChan() to non-static Channel::ForceJoin() that joins a user to a channel, no permission checks The (static) Channel::JoinUser() now has a LocalUser parameter, and no longer have TS and bursting parameters. If the channel doesn't exist, it is created using current time as TS Gravatar attilamolnar2013-04-1310-37/+40
* | OnUserPreJoin is a local-only hook, change User* parameter to LocalUser*Gravatar attilamolnar2013-04-1314-20/+15
* | Remove the deprecated invite APIGravatar attilamolnar2013-04-132-5/+2
* | m_spanningtree Remove unneeded #includesGravatar attilamolnar2013-04-1240-155/+9
* | m_spanningtree FJOIN handler: Refactor, update doc•••Split the core function into several smaller functions Accept userlist entries having no comma at all Gravatar attilamolnar2013-04-122-133/+127
* | m_spanningtree Netburst: Refactor SendChannelModes()•••Rename it to SyncChannel() and change it to take a Channel* parameter, move iteration into DoBurst() Gravatar attilamolnar2013-04-122-25/+21