summaryrefslogtreecommitdiff
path: root/src/users.c
AgeCommit message (Collapse)Author
2010-06-18Renamed all of source files from .c to .cppAdam
2010-06-18Burned slist, rewrote operservs XLine codeAdam
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-18Rewrote all of the server handling codeAdam
2010-06-18Removed all references to $, git has no svn keywordsAdam
2010-06-16Minor edits to fix compile errors/warnings with clang and a small compile ↵cyberbotx
warning under Windows (gotta work on the other 450+ Windows warnings sometime). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3006 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-15Cleaned up some of the cloaked host tracking on UnrealAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3004 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-04Only enable vhosts automatically if the user doesn't already have the vhost setAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2998 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-03Added inspircd2.0 protocol module, moved usermode +r unsetting on nick ↵Adam-
change to the protocol modules to fix inspircd1.2s weird usermode +r behavior git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2997 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-03Keep track of what IRCds set -r on nick change and dont inform us to keep ↵Adam-
the modemanager/modestacker in sync git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2996 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-03Removed ircd->b_delay_auth, have User::CheckAuthenticationToken validate ↵Adam-
users. Fixes us telling people to identify after netmerge then silently identifying them once we process svid. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2994 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-30Fixed a crash from r2990Adam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2992 5417fbe8-f217-4b02-8779-1006273d7864
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-27Fixed some compiler warnings found on 64bit systemsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2989 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-05-21Fixed a crash when a users realname changes when they are on a registered ↵Adam-
nick but not identified, and made my last commit about case insensitive oper names really work git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2972 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24Fixed some typos in log messages, found by LethalityAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2906 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-22Fixed two log message typos, patch from LethalityAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2904 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-11Correctly identify a user when they get autoidentified and made db_plain not ↵Adam-
crash if it gets a founderless channel git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2888 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09Fixed a potential crash when a user does not pass connection checks ↵Adam-
(akill/session) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2877 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09Removed the OnFind events, they are not necessary anymore and just waste CPUAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2872 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-14Burned do_sjoin and rewrote it to be sane. This changes how Anope handles ↵Adam-
new channel creations drasitcally as we now truely track it all instead of hack around it by not initially tracking user joins to new channels git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2755 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
2010-01-02Fixed bug #1121 - Fixes a potential crash when a user changes hostsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2725 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-02Rewrote the vhost code, and moved it to be part of nickalias instead of in ↵Adam-
its own list. This also fixes being able to steal other users vhosts with /hs on git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2724 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-02Convert 'const char *' and 'char *' function arguments to 'const std::string ↵cyberbotx
&' instead, done in actions.c along with chain reactions in other files. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2723 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-31Added in new plaintext databases. Note: This currently has no automatic ↵Adam-
backup feature. Big thanks to Phil on this for mass scale testing git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2722 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-29Chnaged ChannelModeSet/Unset events to be able to block checks such as ↵Adam-
secureops and mlock, and made it so you can't set a mode already set or unset a mode already unset so the modestacker doesn't send modes it doesn't need to git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2719 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-20Rewrote part of extensible, it will now automatically unallocate memory for ↵Adam-
us so we don't have to manually delete it everywhere anymore git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2711 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-16Made many of the functions in IRCDProto accept the relative object pointers ↵Adam-
instea of char* everywhere, and updated TODO git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2706 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-11-28Massive move of all of the Config variables out of global scope to the ↵Adam-
Config class git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2674 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-24fixed a crash when a user connects without a vhostDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2666 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-18Remove some CoreExports and add them in other places, fixed a few minor ↵cyberbotx
warnings under Windows build, made Windows build create a static library out of win32_memory.cpp and use that with everything instead of relying on it being compiled into everything (saves compiling time). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2656 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-17Removed some unnecessary casts, used C++-style casts over C-style casts, ↵cyberbotx
fixed a few warnings (one possibly fatal one). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2655 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08Rewrote all of the old C style flag systems into a new Flag class which ↵Adam-
everything inherits from. This breaks reading and writing flags to the old databases (and probably many other things aswell) - Don't use it git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2636 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-30Made do_nick return the user if I_OnPreUserConnect halts it if the user ↵Adam-
still exists, and removed unused defcon language string git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2600 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-30Rewrote all of the defcon code, and moved most of it to os_defcon. This ↵Adam-
fixes defcon to have the ability to use modes introduced to Anope at a later time than on startup (eg, from the IRCd), amongst other things git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2597 5417fbe8-f217-4b02-8779-1006273d7864