aboutsummaryrefslogtreecommitdiff
path: root/src/commands
Commit message (Expand)AuthorAgeFilesLines
* Remove unnecessary string copies and dead codeGravatar attilamolnar2013-06-051-1/+1
* cmd_who Hide +i users when listing users on a server and hidewhois is off•••Fixes #547 reported by @RawrDragon Gravatar attilamolnar2013-06-011-1/+1
* Update authorsGravatar attilamolnar2013-05-231-7/+8
* cmd_stats List opers without iterating the whole userlistGravatar attilamolnar2013-04-011-5/+6
* cmd_invite Check if the inviting user is on the channel before potentially te...Gravatar attilamolnar2013-04-011-8/+8
* cmd_kill Send snotice to servers when both the oper and the victim are on the...Gravatar attilamolnar2013-03-291-1/+4
* cmd_lusers Fix miscountingGravatar attilamolnar2013-03-271-3/+3
* cmd_lusers Be smart and know how many invisible users are there without itera...Gravatar attilamolnar2013-03-031-4/+41
* cmd_lusers Use of size() instead of counting elementsGravatar attilamolnar2013-03-031-3/+2
* cmd_lusers Refresh max local/global user counters after a user connects•••Fixes #423 reported by @RawrDragon Gravatar attilamolnar2013-03-031-11/+38
* cmd_lusers Convert to a moduleGravatar attilamolnar2013-03-031-1/+21
* cmd_invite Send invite announcements to halfops and higher when <security:ann...•••Clarify what the various options mean in the doc Fixes #418 reported by @RawrDragon Gravatar attilamolnar2013-02-111-16/+22
* cmd_invite Correct error message when the user has no privs to invite and no ...Gravatar attilamolnar2013-02-111-2/+4
* Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a ta...•••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 Gravatar attilamolnar2012-12-155-12/+12
* Register all commands, modes and extensions using AddService()•••AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing Gravatar attilamolnar2012-12-021-1/+1
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-0/+4
* Add a typedef for LocalUserListGravatar attilamolnar2012-11-293-4/+4
* cmd_rehash, m_spanningtree Fix REHASH messages duplicating at each hop•••Fixes #375 reported by @JDowny Gravatar attilamolnar2012-11-291-4/+3
* Change empty string assignments to .clear() or remove them entirely•••Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f Gravatar attilamolnar2012-11-281-8/+4
* Fix /RESTART not closing file descriptors•••Fixes issue #262 reported by @MistrX Gravatar attilamolnar2012-10-211-0/+16
* Make better use of User::GetFullRealHost()Gravatar attilamolnar2012-10-214-12/+9
* Fix KILL accepting SIDs, get rid of potentially unsafe snprintf and strlcpyGravatar attilamolnar2012-10-211-7/+10
* Windows: In-depth cleanup (see details)•••-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 Gravatar ChrisTX2012-10-121-4/+30
* Remove superfluous std::string()sGravatar attilamolnar2012-10-125-7/+7
* Fix unregistered users getting global notices, also fix certain commands work...Gravatar attilamolnar2012-10-123-3/+3
* Add myself to the Other Contributors listGravatar Adam2012-10-111-0/+1
* Fix more undefined behavior caused by referencing the returned buffer by std:...•••See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88 Gravatar attilamolnar2012-09-306-6/+12
* Don't allow banned users to NOTICE a channel when security:restrictbanneduser...•••Fixes #297 reported by @killerrabbit Gravatar attilamolnar2012-09-131-0/+9
* Fixed Windows buildGravatar Adam2012-07-171-0/+4
* Move STATS handler back to cmd_stats so it's hotpatchable againGravatar attilamolnar2012-07-131-1/+340
* cmd_commands Don't show server only commands to usersGravatar attilamolnar2012-07-111-0/+4
* cmd_stats Remove unused preprocessor stuff (it has been living in stats.cpp f...Gravatar attilamolnar2012-07-071-11/+0
* Fix to show ERR_NEEDMOREPARAMS for cmd_userhost and cmd_isonGravatar Shawn Smith2012-07-062-9/+9
* Added color codes to /rules, moved the parsing to ServerConfig and cleaned th...Gravatar Justin Crawford2012-07-062-64/+1
* Remove leftover #ifdefs and #includes from cmd_*.cppGravatar attilamolnar2012-07-0217-123/+1
* Fix pending invites not being removed when a channel was deleted or had its T...Gravatar attilamolnar2012-06-171-3/+3
* Debian typo fixes.Gravatar Peter Powell2012-05-251-1/+1
* Check whether it is empty parameter before checking its valueGravatar Chin Lee2012-05-161-1/+1
* Fix issue #120 reported by @swildeGravatar Chin Lee2012-05-161-1/+1
* Merge pull request #109 from Justasic/insp20•••Rewrote the color codes parser to one function, not twoGravatar Robin Burchell2012-05-141-43/+43
|\
| * Rewrote the color codes parser to be one function, not twoGravatar Justin Crawford2012-05-031-43/+43
* | Merge pull request #96 from Justasic/insp20•••[2.0] Process escape sequences for MOTD for issue #23Gravatar Robin Burchell2012-05-032-2/+64
|\|
| * Fixed using a function on every call for /motd, causing lag on large networks...Gravatar Justin Crawford2012-04-222-11/+21
| * Added C/C++ style escape codes for color codes in the MOTD along with @SaberU...Gravatar Justin Crawford2012-04-211-1/+53
* | Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-1953-436/+814
|/
* Fixes for bug #12Gravatar Justin Crawford2012-04-1410-20/+20
* This fixes issue #39 reported by @attilamolnar.•••Thanks to @attilamolnar for supplying the code. Gravatar Shawn Smith2012-04-121-1/+1
* Typo fixes.Gravatar Peter Powell2012-03-211-1/+1
* Move my name from regular contributors to developersGravatar Jackmcbarn2011-09-281-10/+11
* Quick fix for /RESTART crashingGravatar Daniel De Graaf2010-06-121-12/+5