aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
Commit message (Collapse)AuthorAgeFilesLines
* m_spanningtree Fix incoming channel modes being lost for 0-user permanent ↵Gravatar attilamolnar2013-03-201-0/+8
| | | | | | channels on the losing side of a netmerge This did not affect listmodes
* Remove unused variables detected by Clang 4.2.Gravatar Peter Powell2013-02-012-3/+2
|
* m_spanningtree Fix rare desync when a KILL crosses a message that has the ↵Gravatar attilamolnar2013-01-141-3/+19
| | | | killed user's prefix and modifies global state
* Add a flag to Command that controls whether an empty last parameter is ↵Gravatar attilamolnar2012-12-151-0/+8
| | | | allowed or not
* Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a ↵Gravatar attilamolnar2012-12-154-4/+4
| | | | | | target nickname If a SID was passed as the target user parameter or when it's an unregistered user reply with the "no such nick" (or the moral equivalent) message
* cmd_rehash, m_spanningtree Fix REHASH messages duplicating at each hopGravatar attilamolnar2012-11-291-0/+3
| | | | Fixes #375 reported by @JDowny
* m_spanningtree Remove redundant params.size() checksGravatar attilamolnar2012-11-282-11/+0
| | | | TreeSocket::ProcessConnectedLine() and CommandParser::CallHandler() only call the handler when there are enough parameters
* Remove usage of deprecated CallCommandHandler() and IsValidModuleCommand()Gravatar attilamolnar2012-11-192-3/+3
|
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-10/+10
|
* m_spanningtree SVSNICK needs 3 parametersGravatar attilamolnar2012-11-091-1/+1
|
* m_spanningtree Refuse bogus NICK messagesGravatar attilamolnar2012-11-091-1/+7
| | | | If the new nick looks like an uid verify that its the correct uid
* Make better use of User::GetFullRealHost()Gravatar attilamolnar2012-10-211-1/+1
|
* Windows: In-depth cleanup (see details)Gravatar ChrisTX2012-10-124-11/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Fix x64 builds for Windows. Now all configurations compile. -Remove the non-working rebase stuff. -Remove the Windows fork hack and instead use FreeConsole() to emulate the behavior. This directly allows us to compile with ASLR, which is turned on now. -Remove the old IPC mechanism for the removed GUI. This is not needed anymore as the GUI wasn't ever supported on anything newer than 1.2 -Remove the WIN32/WINDOWS macros. _WIN32 is supported on all x86-based VC++ targets, so that's what we need. -Enable optimizations for release builds. -De-duplicate printf_c(), it was previously copy-pasted into colors.h for configure -Add the VC++ specific bad files in .gitignore -Disable PID writing on Windows. This is only making sense for *nix builds. -Replace the CPU usage retrieval with an algorithm analogous to the *nix behavior. Also supports separated now/total values. (Tested with a dummy busy loop - seems working) -Removed certain unused functions and variables -Remove stdint defines from the windows wrapper -Remove CRT debug alloc. This is a bad idea as it would define a macro to replace free which breaks builds. -Re-evaluated the warnings list, commented it. -Moved inspircd_config/_version to include/ to match *nix -Removed the creation of inspircd_se_config, as it isn't used at all. -Made non-git builds show as "r0" instead of "r" (thanks to @SaberUK for pointing this out) -Fixed up m_spanningtree's project paths. Now all configurations (debug/release x86/x64) have been tested and build properly. -Moved FindDNS out of the wrapper and matched its log behavior with *nix. (It's pointless having it in the wrapper after the recent slimming down) -Replaced random/srandom wrappers with a mechanism that tries to use Windows' Random API first is no SSL module is loaded. -Removed more old junk from support for compilers older than VC++ 2010 (we don't have project files for these, so compiling them would be hard anyways) -Removed the unused ClearConsole() -Removed unused includes from the wrapper. Also, do not include psapi.h here if we don't link psapi.lib. This should be done where appropriate. -Made inet_aton an inline function for increased performance -C4800, performance warning about bool forcing, resolved at all occurrences. -C4701, uninitialized variable 'cached', resolved at all occurrences. -dlerror() was migrated out of the wrapper for more thread safety (no global buffer being shared) and increased performance. -Removed the wrong CRT debug flags. This drains a lot of performance. -Removed the clock_gettime/gettimeofday wrappers -Replaced all TCHAR/ANSI mix-ups of functions with the correct respective function. -Added a block of C4355 for < VS2012 -Update project files for c870714
* Remove superfluous std::string()sGravatar attilamolnar2012-10-128-20/+20
|
* m_spanningtree Fix undefined behavior caused by referencing the returned ↵Gravatar attilamolnar2012-10-071-1/+2
| | | | buffer by std::string::c_str() when the object is temporary
* m_spanningtree Fill a parameterlist in OnAddLine/OnDelLineGravatar attilamolnar2012-10-031-7/+8
|
* m_spanningtree Simplify OnMode and OnSetAway handlersGravatar attilamolnar2012-10-031-13/+5
|
* m_spanningtree Remove empty RedoConfig()Gravatar attilamolnar2012-10-032-5/+0
|
* m_spanningtree Utils: Remove unused functionsGravatar attilamolnar2012-10-032-31/+0
|
* m_spanningtree OPERTYPE handler: Return when finished processing instead of ↵Gravatar attilamolnar2012-10-031-8/+3
| | | | changing execution path with a flag
* m_spanningtree Remote WHOIS handler: Find target with FindNickOnly (don't ↵Gravatar attilamolnar2012-10-031-1/+1
| | | | accept uids, like in cmd_whois)
* m_spanningtree Netburst: Remove unused parameters and variablesGravatar attilamolnar2012-10-032-15/+15
|
* m_spanningtree Netburst: Prefix SERVER and VERSION lines with SIDs instead ↵Gravatar attilamolnar2012-10-031-4/+3
| | | | of server names
* m_spanningtree Netburst: Remove unnecessary variables from DoBurst()Gravatar attilamolnar2012-10-021-8/+5
|
* m_spanningtree Use iterators in CAPAB handler and when generating reply to ↵Gravatar attilamolnar2012-10-023-13/+12
| | | | spanningtree related /stats, use std::find() in TreeServer::DelChild()
* m_spanningtree Only allow uuids in SVSJOIN, METADATA and OPERQUITGravatar attilamolnar2012-10-024-5/+5
|
* m_spanningtree Return const references from several TreeServer getter functionsGravatar attilamolnar2012-09-302-6/+6
|
* Fix more undefined behavior caused by referencing the returned buffer by ↵Gravatar attilamolnar2012-09-307-16/+28
| | | | | | std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
* Fix undefined behavior caused by referencing the returned buffer by ↵Gravatar attilamolnar2012-09-231-1/+2
| | | | | | | std::string::c_str() when the object is temporary Thanks to @ChrisTX for pointing this out Fixes #257 reported by @helloall
* m_spanningtree Add missing aposthrope to connection failed server noticeGravatar attilamolnar2012-08-101-1/+1
|
* m_spanningtree: Resolve issue #250Gravatar ChrisTX2012-08-103-2/+5
|
* m_spanningtree Specify the uuid of the remote user when sending server ↵Gravatar attilamolnar2012-08-081-18/+8
| | | | NOTICE/PRIVMSG to him
* m_spanningtree Handle ? wildcard as well when processing an incoming ENCAPGravatar attilamolnar2012-08-082-2/+2
|
* m_spanningtree Add function to easily determine whether a server was ↵Gravatar attilamolnar2012-07-082-1/+10
| | | | introduced to the network, use it to determine when to send SQUIT
* m_spanningtree Fix crash in SVSPART handler when the given channel doesn't existGravatar attilamolnar2012-07-041-7/+9
|
* m_spanningtree Call the collision handler with the proper parameter (client ↵Gravatar attilamolnar2012-07-011-1/+1
| | | | ip instead of modestring) when a nick collides at burst
* m_spanningtree Return when ecountering an invalid command coming from a ↵Gravatar attilamolnar2012-07-011-1/+3
| | | | remote server
* Fix crash in ADDLINE handler when the command had no parametersGravatar attilamolnar2012-07-011-1/+1
|
* Fix pending invites not being removed when a channel was deleted or had its ↵Gravatar attilamolnar2012-06-171-0/+1
| | | | TS lowered
* m_spanningtree Burst to a new server before introducing it to the rest of ↵Gravatar attilamolnar2012-06-123-13/+20
| | | | | | the network Fixes issue #103 reported by @nenolod
* Be consistent with Robby's qQ snomask changesGravatar Sir Poggles2012-06-121-1/+1
|
* m_spanningtree Only add a resolved server IP as valid if it still exists ↵Gravatar attilamolnar2012-06-111-1/+9
| | | | when the lookup completes
* m_spanningtree Move SecurityIPResolver code to resolvers.cpp from resolvers.hGravatar attilamolnar2012-06-112-22/+25
|
* m_spanningtree Disallow server passwords which contain a space char and ↵Gravatar attilamolnar2012-06-111-0/+6
| | | | | | those which begin with a colon Update links.conf.example
* m_spanningtree Notify opers upon ecountering a configuration error when ↵Gravatar attilamolnar2012-06-112-55/+36
| | | | rehashing
* m_spanningtree Fix desync issue #37 reported by @Joah - part 2Gravatar attilamolnar2012-05-311-7/+7
|
* Debian typo fixes.Gravatar Peter Powell2012-05-251-2/+2
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-1951-392/+784
|
* Forward port 1d703dcf7858a322c823bbd80f9507b627c5738c.Gravatar attilamolnar2012-04-181-1/+1
|
* Log mode errors when processing FJOIN.Gravatar Robin Burchell2012-04-181-3/+5
|