aboutsummaryrefslogtreecommitdiff
path: root/src/commands/cmd_who.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move src/commands/cmd_*.cpp to src/coremods[/core_*]/Gravatar Attila Molnar2014-03-051-395/+0
|
* Remove out of date doc and fix typo in commands/cmd_*.cppGravatar Attila Molnar2014-03-041-6/+2
|
* Move GetPrefixChar() from Channel to MembershipGravatar Attila Molnar2014-02-141-1/+1
|
* Return a Membership* from get_first_visible_channel() in cmd_who and pass ↵Gravatar Attila Molnar2014-02-141-13/+13
| | | | that to modules
* Add Channel* parameter to OnSendWhoLineGravatar Attila Molnar2014-01-251-1/+1
|
* Convert UserChanList to an intrusively linked listGravatar Attila Molnar2014-01-241-3/+2
|
* Introduce Server classGravatar Attila Molnar2014-01-051-2/+2
| | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-1/+1
| | | | automatically
* Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-041-1/+1
|
* Replace hardcoded mode letters, part 3Gravatar attilamolnar2013-07-191-3/+5
| | | | This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core
* Replace hardcoded mode letters, part 2Gravatar attilamolnar2013-07-191-15/+21
| | | | This changes all remaining Channel::IsModeSet() and Channel::GetModeParameter() calls to use ModeReferences for modes that were created by other modules or the core
* Merge insp20Gravatar attilamolnar2013-06-061-1/+1
|\
| * cmd_who Hide +i users when listing users on a server and hidewhois is offGravatar attilamolnar2013-06-011-1/+1
| | | | | | | | Fixes #547 reported by @RawrDragon
* | Get rid of strlcpy(), strlcat(), charlcat() and charremove()Gravatar attilamolnar2013-05-161-22/+6
| |
* | Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()Gravatar attilamolnar2013-04-101-3/+3
| |
* | Convert InspIRCd::Duration() to be staticGravatar attilamolnar2013-04-031-2/+2
|/
* Remove superfluous std::string()sGravatar attilamolnar2012-10-121-1/+1
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+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
* Add parameters to OnSendWhoLine hook, fixes "/who * o" returning opers with +HGravatar danieldg2010-02-011-12/+25
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12345 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove MaxWhoResults, replace with an increase of Penalty based on result ↵Gravatar danieldg2010-01-291-20/+12
| | | | | | list size git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12325 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Inspircd::AddServicesGravatar danieldg2009-11-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12135 e03df62e-2008-0410-955e-edbf42e46eb7
* Move some local-only fields to LocalUserGravatar danieldg2009-10-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11942 e03df62e-2008-0410-955e-edbf42e46eb7
* Move static map of extensions into ServerInstance, add const-correctnessGravatar danieldg2009-10-141-1/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11873 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of a bunch of memory-wasting C-style stringsGravatar danieldg2009-10-031-7/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7
* Attempt to revert r11734Gravatar danieldg2009-09-161-0/+403
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11735 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge commands and modules in source, since they are already merged in installGravatar danieldg2009-09-161-403/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11734 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up Command constructorGravatar danieldg2009-09-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11707 e03df62e-2008-0410-955e-edbf42e46eb7
* Membership* changesGravatar danieldg2009-09-131-15/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11697 e03df62e-2008-0410-955e-edbf42e46eb7
* Change Extensible to use strongly typed entriesGravatar danieldg2009-09-131-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11696 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't allow /who to match servers when HideWhoisServer is enabled (unless ↵Gravatar special2009-09-131-5/+6
| | | | | | the user has the privilege) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11692 e03df62e-2008-0410-955e-edbf42e46eb7
* Change cmd_*.so to use the Module object APIGravatar danieldg2009-09-031-6/+49
| | | | | | | | | | | | | | Create Module* objects for each command, and load them like modules. This unifies the external API for modules. Library directory is now deprecated: all modules are located in a single module directory. Header files for each command are no longer needed; remove. This also fixes two potential segfaults in m_spanningtree. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11668 e03df62e-2008-0410-955e-edbf42e46eb7
* Add OnSendWhoLine hook, and use it in the oper hiding modulesGravatar danieldg2009-09-021-1/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11650 e03df62e-2008-0410-955e-edbf42e46eb7
* Rip out VisData in preparation for replacing it with more flexible hooksGravatar danieldg2009-09-021-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11640 e03df62e-2008-0410-955e-edbf42e46eb7
* Rename User::GetPort to GetServerPort to clarify its purposeGravatar danieldg2009-09-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11577 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Restrict some /WHO options to opersGravatar danieldg2009-03-031-4/+8
| | | | | | | | | There is no reason to be able to query the umodes of other users or the port they connected on; this can contain private information. If HideWhoisServer is on, also restrict local/far query. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11164 e03df62e-2008-0410-955e-edbf42e46eb7
* Restrict /WHO <item> M to opersGravatar danieldg2009-02-191-1/+2
| | | | | | | Metadata keys can contain information that should not be viewable by users, such as "delayjoin_#channel". git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11130 e03df62e-2008-0410-955e-edbf42e46eb7
* Nuke trailing spacesGravatar peavey2009-02-141-5/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert necessary match calls to use ASCII casemap.Gravatar w00t2008-12-071-3/+3
| | | | | | 1.2 may now be made casemap-aware via a module setting national_case_sensitive_map to their own table, and resetting to the RFC table on unload. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10859 e03df62e-2008-0410-955e-edbf42e46eb7
* Tie a number of /who settings to servers/auspex and users/auspex respectively.Gravatar w00t2008-10-181-7/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10674 e03df62e-2008-0410-955e-edbf42e46eb7
* Rename lowermap to rfc_case_insensitive_map, add case_sensitive_map.. adjust ↵Gravatar w00t2008-08-281-7/+7
| | | | | | files to not pass lowermap directly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10337 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement /who 1d t (search for who matches for users connected for a given ↵Gravatar w00t2008-08-251-0/+7
| | | | | | time) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10278 e03df62e-2008-0410-955e-edbf42e46eb7
* Add opt_time to WHO (will be /who +t flag) and clean the fuck up ↵Gravatar w00t2008-08-251-48/+57
| | | | | | CommandWho::whomatch, which was as ugly as sin. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10274 e03df62e-2008-0410-955e-edbf42e46eb7
* match() is no longer a function+no header, now a static method of InspIRCd ↵Gravatar w00t2008-08-211-6/+5
| | | | | | class, blah blah blah. Also rip out the 1.2 matcher, as it was slow, and replace it with one adapted from znc, which happens to be a tiny bit faster than 1.1's (and the fastest I've seen so far that works properly) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10212 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert channel::name to std::string, this was a beastie!Gravatar brain2008-05-191-3/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9770 e03df62e-2008-0410-955e-edbf42e46eb7
* Make User:: nick/ident/dhost/fullname and some other things std::string ↵Gravatar aquanight2008-05-181-2/+2
| | | | | | instead of char*/char[] (MODULES DO NOT COMPILE) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9748 e03df62e-2008-0410-955e-edbf42e46eb7
* Improve this not to use pointer maths directly, use an iteratorGravatar brain2008-05-101-7/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9699 e03df62e-2008-0410-955e-edbf42e46eb7