summaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Add stuff so that modules can hook users by altering a pointer in the User cl...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9187 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-241-2/+3
* Clean up user/chan modes on deoper, fix memsets off-by-1, delete[] properly i...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9182 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-03-231-6/+17
* These memsets cant rely on sizeof() any more, afaik. The sizeof() would give ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9181 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-231-4/+4
* Whoops, take out some foolish memsets (well theyre foolish now :p)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9180 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-231-2/+0
* This should save 128 bytes per user for non-opers. Well worth it imho for a r...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9179 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-231-0/+26
* Add ability to control what opertypes can set what operonly user/chan modes. ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9176 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-03-231-1/+38
* Wheeee for HUGE commits. Convert all numerics to WriteNumeric so that OnNumer...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9175 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-221-16/+16
* Add WriteNumeric() to User and OnNumeric module event. Note that modules do n...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9174 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-221-0/+26
* Fix for bug #466 reported by John•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9042 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-261-2/+18
* Fix for feature request in bug #465 by John•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9041 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-261-0/+3
* Convert remaining InspIRCd::Log() calls to new logging system•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-221-9/+9
* Nuke TIMESYNC from orbit \o/•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8998 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-221-1/+1
* The issue from stable does not exist here, because we initialize userrec::qui...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8974 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-211-1/+1
* Seperate USERIO into USERINPUT and USEROUTPUT•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8949 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-171-1/+1
* Commit patch from danieldg that makes a ton of stuff const-safe for latest wa...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8922 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-131-1/+1
* Backport r8910: oper quit message would be blank•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8911 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-121-1/+6
* Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8892 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-111-17/+17
* Add a printf-type override for LogManager::Log(). We need to find a way to se...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8860 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-091-192/+126
* Support for /invite <user> <channel> <timeout> - if the user doesn't partake ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8854 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-081-5/+40
* This makes more sense•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8837 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-051-1/+1
* Brain, look at this please•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8817 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-041-14/+22
* Cache User::GetIPString()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8795 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-021-0/+11
* Move some stuff to usermanager, remove a little header insanity, remove trace...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8790 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-021-14/+14
* Fix.. snomask O is already taken (ffs) so use A instead•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-171-5/+5
* Remove InspIRCd::WriteOpers in favour of snomask O•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8728 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-171-6/+6
* Add a warning about quitting a user twice, and fix a minor brainfart•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8718 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-161-1/+0
* Remove an O(log n) in favour of an O(1) operation, and tidy up culllist some ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8717 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-161-3/+3
* Two stage commit: don't set user->muted except in QuitUser (duplicate setting...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8716 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-161-2/+3
* Re-add support for silent quits (note: we also remove an O(n) doing it this way)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8715 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-161-0/+1
* Hacked-up culllist: stores user pointers rather than CullItem, as creating th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8714 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-161-9/+7
* Undo my constructor playing, I'm pretty sure it will break stuff. This will r...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8707 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-131-14/+0
* Move User::AddClient to UserManager::AddClient. WARNING: I assure you this is...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8706 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-131-161/+14
* First UserManager overhaul: Move clone counts out of InspIRCd & User.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8705 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-131-46/+5
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1
* Add param 'opername' to event OnPostOper. This will help make a (slightly nic...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8615 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-021-2/+2
* Implement roadmap item: "userrec::HasPermission -> map of maps, for (even fas...•••This is not a map of maps, but a single level map per oper, in non-opers this member is NULL. Please note that this is not yet tested. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8564 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-34/+52
* BanCache: Add a negative hit for an IP address upon FullConnect.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8540 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-11-041-0/+3
* Integrate K/Gline into the bancache system by making some modifications to De...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8538 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-11-041-4/+2
* Honking huge commit. Removal of DELETE() template that never worked right anyway•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8527 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-1/+1
* Avoid code duplication, just call XLine::Apply() rather than retyping all tha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8494 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-15/+3
* BanCache positive hits should be overridden by E:, thanks Brain•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8493 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-11-041-1/+1
* Hook BanCache up to work on Z:Lines. BanCache is checked first, for positive ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8492 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-11-041-8/+35
* Tidy up, and make the identifer for a line type be std::string not char•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8459 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-5/+5
* xline gutting, once more. There is no longer an active_lines vector, and no r...•••saving on cpu time. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8457 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-5/+5
* Fix this to pass a User•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8405 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-281-1/+2
* If the connect:limit is 0, dont deny connections for going over it•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8360 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-251-1/+1
* this should fix any of the crashes w00t outlined where User::MyClass == NULL.•••The simplest fix seems to be that if the user has no class, skip all the code that uses the class values. This makes sense because the only situation where User::MyClass == NULL is when they arent authorised to connect and are being quit so checking flood levels and max sendq etc are irrelevent. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8358 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-251-4/+4
* Implement <connect:limit> - limits how many clients can sit inside a <connect...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8357 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-241-0/+7
* Disable all connect classes, reenable them as we find them in the config. Thi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8355 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-241-3/+6
* Try this w00t, compiles, test running now•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8343 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-241-7/+11