summaryrefslogtreecommitdiff
path: root/src/commands
AgeCommit message (Collapse)Author
2018-07-12Clean up the WHO helpop documentation.Peter Powell
2018-07-11Fix replying with the source user in oper-restricted WHO lookups.Peter Powell
2017-11-04Fix CMD_RESTART with relative paths as argv[0].Jordyn/The Linux Geek
2017-03-20cmd_who: don't show +p channels or channels hidden with m_hidechansAdam
Fixes #1276
2016-08-13Fix more incorrect std::string::operator[] usageAttila Molnar
2016-06-09Fix for GCC 6 rightfully optimizing out the NULL check of 'this' in ↵Attila Molnar
ConfigTag::readString() Checking is only necessary in ModuleSSLInfo::OnPostConnect() as oper types are not encountered in the other cases but check anyway to be sure
2016-02-29Remove embarrassing negative comments about some clients from the codeAttila Molnar
2016-02-25Don't show snotices for kills from ulined clientsAdam
2015-09-06Merge pull request #1018 from SaberUK/insp20+hidekillsAdam
[2.0] Fix exposing the opers hostname in KILL when using hidekills.
2015-04-16cmd_userhost Fix +H hidden opers being shown as opersAttila Molnar
2015-03-20Fix exposing the opers hostname in KILL when using hidekills.Peter Powell
2015-02-04cmd_userhost List 5 users in the reply even if the query (incorrectly) ↵Attila Molnar
contains more than 5 nicks
2015-01-21Fix numeric ERR_NOTREGISTERED not containing the user's nickAttila Molnar
2015-01-19Merge branch 'insp20+penalty' into insp20Attila Molnar
2015-01-17cmd_list: Give +s precedence to +pDaniel Vassdal
When +ps is set, handle it as +s (most restrictive) instead of +p
2015-01-12Increase penalty for some core commandsAttila Molnar
2014-12-30Fix User::age being incorrectly used in some places instead of signonAttila Molnar
2014-11-30Don't submit a reload worker if the module doing the reload is scheduled for ↵Attila Molnar
unload
2014-10-13Avoid calling methods on NULL pointers wherever possible.Peter Powell
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.
2014-10-13Fix various warnings when building with LLVM 3.5.Peter Powell
- 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]
2014-06-07Fix harmless loop off-by-ones found by Moonlightningsatmd
2014-04-12Correct the syntax messages of a few modules.Robby-
2014-04-04Add REG_ALL checks to treat unregistered users as nonexistent in more casesAttila Molnar
2014-03-11cmd_names Allow opers having the channels/auspex priv to view the NAMES list ↵Attila Molnar
of +s channels from outside A version of the check removed by this commit is in Channel::UserList() which takes the priv into account Discovered by @Cronus89
2014-02-20Fix /who on opers incorrectly showing +i opers toAdam
users without the privilege to see them, introduced in b328aad53b044bd9cf9720dfed216b0ee61c8e31
2014-02-11Fix various problems detected by Clang 3.4.Peter Powell
- 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.
2014-01-21Increase the penalty for a few core commandsAttila Molnar
2013-11-12Fix remote /MODULES bugDaniel Vassdal
2013-08-27Fix crash caused by passing a large integer to ctime()attilamolnar
In addition to verifying the return value of localtime(), correct tm_year if it is out of bounds Reported by @JDowny
2013-06-05Remove unnecessary string copies and dead codeattilamolnar
2013-06-01cmd_who Hide +i users when listing users on a server and hidewhois is offattilamolnar
Fixes #547 reported by @RawrDragon
2013-05-23Update authorsattilamolnar
2013-04-01cmd_stats List opers without iterating the whole userlistattilamolnar
2013-04-01cmd_invite Check if the inviting user is on the channel before potentially ↵attilamolnar
telling him the target is already on it
2013-03-29cmd_kill Send snotice to servers when both the oper and the victim are on ↵attilamolnar
the same server
2013-03-27cmd_lusers Fix miscountingattilamolnar
2013-03-03cmd_lusers Be smart and know how many invisible users are there without ↵attilamolnar
iterating the userlist
2013-03-03cmd_lusers Use of size() instead of counting elementsattilamolnar
2013-03-03cmd_lusers Refresh max local/global user counters after a user connectsattilamolnar
Fixes #423 reported by @RawrDragon
2013-03-03cmd_lusers Convert to a moduleattilamolnar
2013-02-11cmd_invite Send invite announcements to halfops and higher when ↵attilamolnar
<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
2013-02-11cmd_invite Correct error message when the user has no privs to invite and no ↵attilamolnar
halfop prefix is available
2012-12-15Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a ↵attilamolnar
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
2012-12-02Register all commands, modes and extensions using AddService()attilamolnar
AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
2012-12-02Attach to events and register services in init()attilamolnar
2012-11-29Add a typedef for LocalUserListattilamolnar
2012-11-29cmd_rehash, m_spanningtree Fix REHASH messages duplicating at each hopattilamolnar
Fixes #375 reported by @JDowny
2012-11-28Change empty string assignments to .clear() or remove them entirelyattilamolnar
Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f
2012-10-21Fix /RESTART not closing file descriptorsattilamolnar
Fixes issue #262 reported by @MistrX
2012-10-21Make better use of User::GetFullRealHost()attilamolnar