aboutsummaryrefslogtreecommitdiff
path: root/src/commands
Commit message (Collapse)AuthorAgeFilesLines
* cmd_kill Send snotice to servers when both the oper and the victim are on ↵Gravatar attilamolnar2013-03-291-1/+4
| | | | the same server
* cmd_lusers Fix miscountingGravatar attilamolnar2013-03-271-3/+3
|
* cmd_lusers Be smart and know how many invisible users are there without ↵Gravatar attilamolnar2013-03-031-4/+41
| | | | iterating the userlist
* 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 connectsGravatar attilamolnar2013-03-031-11/+38
| | | | Fixes #423 reported by @RawrDragon
* cmd_lusers Convert to a moduleGravatar attilamolnar2013-03-031-1/+21
|
* cmd_invite Send invite announcements to halfops and higher when ↵Gravatar attilamolnar2013-02-111-16/+22
| | | | | | | | <security:announceinvites> is 'dynamic' regardless of the channel being +i or not Clarify what the various options mean in the doc Fixes #418 reported by @RawrDragon
* cmd_invite Correct error message when the user has no privs to invite and no ↵Gravatar attilamolnar2013-02-111-2/+4
| | | | halfop prefix is available
* Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a ↵Gravatar attilamolnar2012-12-155-12/+12
| | | | | | 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
* Register all commands, modes and extensions using AddService()Gravatar attilamolnar2012-12-021-1/+1
| | | | AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
* 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 hopGravatar attilamolnar2012-11-291-4/+3
| | | | Fixes #375 reported by @JDowny
* Change empty string assignments to .clear() or remove them entirelyGravatar attilamolnar2012-11-281-8/+4
| | | | Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f
* Fix /RESTART not closing file descriptorsGravatar attilamolnar2012-10-211-0/+16
| | | | Fixes issue #262 reported by @MistrX
* 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)Gravatar ChrisTX2012-10-121-4/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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-125-7/+7
|
* Fix unregistered users getting global notices, also fix certain commands ↵Gravatar attilamolnar2012-10-123-3/+3
| | | | working on unregistered users, spotted by @Adam-
* Add myself to the Other Contributors listGravatar Adam2012-10-111-0/+1
|
* Fix more undefined behavior caused by referencing the returned buffer by ↵Gravatar attilamolnar2012-09-306-6/+12
| | | | | | std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
* Don't allow banned users to NOTICE a channel when ↵Gravatar attilamolnar2012-09-131-0/+9
| | | | | | security:restrictbannedusers is on Fixes #297 reported by @killerrabbit
* 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 ↵Gravatar attilamolnar2012-07-071-11/+0
| | | | for a while)
* 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 ↵Gravatar Justin Crawford2012-07-062-64/+1
| | | | the code up a bit
* 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 ↵Gravatar attilamolnar2012-06-171-3/+3
| | | | TS lowered
* 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/insp20Gravatar Robin Burchell2012-05-141-43/+43
|\ | | | | Rewrote the color codes parser to one function, not two
| * Rewrote the color codes parser to be one function, not twoGravatar Justin Crawford2012-05-031-43/+43
| |
* | Merge pull request #96 from Justasic/insp20Gravatar Robin Burchell2012-05-032-2/+64
|\| | | | | [2.0] Process escape sequences for MOTD for issue #23
| * Fixed using a function on every call for /motd, causing lag on large ↵Gravatar Justin Crawford2012-04-222-11/+21
| | | | | | | | networks (requested by w00t)
| * Added C/C++ style escape codes for color codes in the MOTD along with ↵Gravatar Justin Crawford2012-04-211-1/+53
| | | | | | | | @SaberUK's \x, \u, \b, \c aliases
* | 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.Gravatar Shawn Smith2012-04-121-1/+1
| | | | Thanks to @attilamolnar for supplying the code.
* 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
|
* Use FindNickOnly in a few commands to prevent enumerating users via UID walkingGravatar Daniel De Graaf2010-04-024-5/+15
|
* Remove channel argument from OnSendWhoLine, this information is already ↵Gravatar danieldg2010-03-221-17/+7
| | | | | | available in params[0] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12650 e03df62e-2008-0410-955e-edbf42e46eb7
* Make MODENOTICE oper-only, noticed by jackmcbarnGravatar danieldg2010-03-111-1/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12623 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix /LUSERS miscountingGravatar danieldg2010-02-251-5/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12565 e03df62e-2008-0410-955e-edbf42e46eb7
* Show opers the raw VERSION string, not the custom oneGravatar danieldg2010-02-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12470 e03df62e-2008-0410-955e-edbf42e46eb7