aboutsummaryrefslogtreecommitdiff
path: root/src/commands
Commit message (Expand)AuthorAgeFilesLines
* Fix CMD_RESTART with relative paths as argv[0].Gravatar Jordyn/The Linux Geek2017-11-041-2/+2
* cmd_who: don't show +p channels or channels hidden with m_hidechans•••Fixes #1276 Gravatar Adam2017-03-201-3/+5
* Fix more incorrect std::string::operator[] usageGravatar Attila Molnar2016-08-132-2/+2
* Fix for GCC 6 rightfully optimizing out the NULL check of 'this' in ConfigTag...•••Checking is only necessary in ModuleSSLInfo::OnPostConnect() as oper types are not encountered in the other cases but check anyway to be sure Gravatar Attila Molnar2016-06-091-1/+1
* Remove embarrassing negative comments about some clients from the codeGravatar Attila Molnar2016-02-291-1/+0
* Don't show snotices for kills from ulined clientsGravatar Adam2016-02-251-5/+9
* Merge pull request #1018 from SaberUK/insp20+hidekills•••[2.0] Fix exposing the opers hostname in KILL when using hidekills.Gravatar Adam2015-09-061-1/+1
|\
| * Fix exposing the opers hostname in KILL when using hidekills.Gravatar Peter Powell2015-03-201-1/+1
* | cmd_userhost Fix +H hidden opers being shown as opersGravatar Attila Molnar2015-04-161-2/+9
|/
* cmd_userhost List 5 users in the reply even if the query (incorrectly) contai...Gravatar Attila Molnar2015-02-041-2/+5
* Fix numeric ERR_NOTREGISTERED not containing the user's nickGravatar Attila Molnar2015-01-211-1/+1
* Merge branch 'insp20+penalty' into insp20Gravatar Attila Molnar2015-01-197-3/+30
|\
| * Increase penalty for some core commandsGravatar Attila Molnar2015-01-127-3/+30
* | cmd_list: Give +s precedence to +p•••When +ps is set, handle it as +s (most restrictive) instead of +p Gravatar Daniel Vassdal2015-01-171-7/+8
|/
* Fix User::age being incorrectly used in some places instead of signonGravatar Attila Molnar2014-12-302-3/+3
* Don't submit a reload worker if the module doing the reload is scheduled for ...Gravatar Attila Molnar2014-11-301-1/+1
* Avoid calling methods on NULL pointers wherever possible.•••The trick we use to allow this is undefined behaviour and is not liked by LLVM. We should stop using it but it has the potential to break to many things for a minor release. Gravatar Peter Powell2014-10-132-2/+2
* Fix various warnings when building with LLVM 3.5.•••- warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] - warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] Gravatar Peter Powell2014-10-131-1/+1
* Fix harmless loop off-by-ones found by MoonlightningGravatar satmd2014-06-071-1/+1
* Correct the syntax messages of a few modules.Gravatar Robby-2014-04-123-3/+3
* Add REG_ALL checks to treat unregistered users as nonexistent in more casesGravatar Attila Molnar2014-04-042-4/+4
* cmd_names Allow opers having the channels/auspex priv to view the NAMES list ...•••A version of the check removed by this commit is in Channel::UserList() which takes the priv into account Discovered by @Cronus89 Gravatar Attila Molnar2014-03-111-5/+0
* Fix /who on opers incorrectly showing +i opers to•••users without the privilege to see them, introduced in b328aad53b044bd9cf9720dfed216b0ee61c8e31 Gravatar Adam2014-02-201-1/+1
* Fix various problems detected by Clang 3.4.•••- cidr.cpp: remove inverted_bits; unused since 9fad3ecb9215a0034bf407f192926b04cb5efaed. - cmd_stats.cpp: remove needless inversion and comparison to 0. - inspircd.cpp: remove needless comparison to 0. - socket.cpp: remove all_zero; unused since 03a1bf15b1da7643b237c22db1a478916a976ccf. Gravatar Peter Powell2014-02-111-1/+1
* Increase the penalty for a few core commandsGravatar Attila Molnar2014-01-214-4/+23
* Fix remote /MODULES bugGravatar Daniel Vassdal2013-11-121-2/+5
* Fix crash caused by passing a large integer to ctime()•••In addition to verifying the return value of localtime(), correct tm_year if it is out of bounds Reported by @JDowny Gravatar attilamolnar2013-08-271-10/+3
* 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