summaryrefslogtreecommitdiff
path: root/include/users.h
AgeCommit message (Collapse)Author
2010-06-26Made the flags class take an optional size argAdam
2010-06-20The first of a few "CBX OCDing over code style" commits, focusing on ↵Naram Qashat
include/* and src/* but not src/core/* or src/modules/*.
2010-06-18Added an arg to User::IsRecognized to check for NI_SECUREAdam
2010-06-18Store modes in users and channels using the Flags class, cleanerAdam
2010-06-18Rewrote the hashing system to use std::tr1::unordered_mapAdam
2010-06-18Prevent negaitve mode changes, kicks, bans, and autokicks from affecting ↵Adam
users with unreal usermode +q or similar
2010-06-18Removed all references to $, git has no svn keywordsAdam
2010-05-28Rewrote some of the user nick changing code, enable vhosts for users on nick ↵Adam-
change, and dont update last seen/last realname when users are identified to an account which doesn't own the nick they are using git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2990 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-25Changed User::AutoID to always log in the user to the core, and to set ↵Adam-
usermode +r on users that should be. Fixes everyone being identified but not usermode +r on inspircd 1.2 git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2985 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-22Rewrote the nick colliding/releaseing/canceling system, fixes many many bugs ↵Adam-
on IRCds without svsnick and/or svshold git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2975 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24Logout the SQLUser & any fake users after using commandsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2911 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24Fixed dropping nicks registered through MySQLAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2907 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-28Added in support for live updating MySQL databases and the ability to ↵Adam-
execute commands to Anope through MySQL. Currently database support only applies to NickServ, ChanServ and BotServ but will be expanded soon. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2798 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-04We now store a list of users using a NickCore in the NickCore, this prevents ↵Adam-
having to loop every user all the time to find them git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2780 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-31replaced the alog() command with a new type-safe and stream-based Alog()DukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2777 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-21Rewrote how Anope stores channel status modes on users.Adam-
This allows 3rd party modules to add and track their own status mode. Additionally we now store a users status in both the UserContainer and ChannelContainer. This also fixes the ModeStacker to not send any mode strings unnecessarially and shuffles some code around so we don't have to manually remove channels from users lists everywhere. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2775 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-16Removed c_userlist and u_chanlist, replaced with std::listAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2764 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11updated copyright info for 2010pimpmylinux
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2753 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-06Fixed windows build and cleaned up a few small thingsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2736 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-04Changed 'char *' fields in BotInfo to 'std::string', cleanup of bots.cpp, ↵cyberbotx
changed many other functions to use 'const std::string &' arguments as a chain reaction. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2733 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-04Removed NICKMAX and CHANMAX, replaced user->nick, c->name, and ci->name with ↵Adam-
std::string git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2732 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-17Added BotInfo* sender arg to all of the User mode functions, changed ↵Adam-
IRcdProto::SendMode for channels to accept a Channel pointer and fixed unsetting users vhosts on Unreal git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2710 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-13Added in a modestacker and rewrote almost all of the remaining old mode codeAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2696 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-30Removed channel passwords and added /chanserv QOP command to add additional ↵Adam-
channel founders, aswell as access level 10000 git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2599 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-13Complete rewrite of everything associated with modes, this breaks saving and ↵Adam-
reading mlocked modes from the databases until the new databases are implemented git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2560 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-30Removed NS_IDENTIFIED/NS_RECOGNIZED/NS_ON_ACCESS from na->status, it doesnt ↵Adam-
belong there anymore and doesnt work. Replaced nick_recognized() with User::IsRecognized() which returns if youre recognized for the nick you are on, not necessarially the account youre logged in for. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2523 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26Fixed bug #1107. We now have support for IRCds that send auth after the ↵Adam-
initial NICK/UID command, and automatically reidentifying users from their account name on InspIRCd1.2 git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2513 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-12Fixes bugs #1105 and #1106Adam-
Now properly track users host changes and keep users cloaked hosts saved in memory git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2498 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-04Fixed autoidadam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2404 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Remove User::na, use User::nc everywhere. Will probably break everything, ↵rburchell
but opens the door to decoupling NC from NA, and means commands can now be run without bothering about changinc nick :) More tweaking for na/nc usage. It compiles, but it's still a work in progress. Again, this compiles, but I *bet* there's no chance in hell it'll work. :) Slightly better. Set User::nc correctly. Fix crash with unregistered nicks in core and ns_access. Fix glist to work when you're not on that particular nick. Fix ns_set to not crash and burn horribly. Fix ns_set and ns_logout to not do bad things. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2076 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15First stab at adding User::nc as requested!robbeh
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2055 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09Squashed commit: merge next (1.9.1) back to trunk.rburchell
SVN users, NOTE: THIS WILL NOT BUILD, NOR SHOULD YOU RUN IT YET. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1953 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-03Housekeeping contact address updates.sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1914 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02Update copyrights for 2009.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1909 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-26Various fixes for compiling under Windows.cyberbotx
Also updated ms_* modules to use std::vector Memo struct from earlier commit. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1797 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20Removed some signed/unsigned comparison warnings.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1766 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Remove moduleAddData|GetData|DelData and all associated mess. Extensible ↵rburchell
base replaces all this in a much cleaner and more transparent fashion. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1706 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Add Extensible class, which we will use for metadata, derive class User from ↵rburchell
it as a compile test. Thanks to Insp for this code. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1699 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14Insane commit of doom: s/ \t/grburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1681 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14Various small warning fixes.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1668 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Move struct botinfo into a class in bots.hRobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1223 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Added chost variable to User class, stores cloaked host, used in inspircd11 ↵Robin Burchell w00t@inspircd.org
module. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1212 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Mark some stuff deprecated, move implementation from the interface into the ↵Robin Burchell w00t@inspircd.org
user class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1206 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Move delete_user() into a destructor. Fix a few minor bugs with conversion also.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1194 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Add User::SetRealname().Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1193 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Add User::SetIdent(). Also remove duplication by using update_host().Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1190 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Move more stuff into the user class.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1189 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Add User::SetNewNick() method, to be called from ircd protocol.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1188 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Move users to a basic class.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1187 5417fbe8-f217-4b02-8779-1006273d7864