aboutsummaryrefslogtreecommitdiff
path: root/src/xline.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* | Convert WriteNumeric() calls to pass the parameters of the numeric as method ...Gravatar Attila Molnar2016-02-251-1/+1
* | Use ERR_YOUREBANNEDCREEP instead of NOTICE when a user is banned.•••This is specified in RFC 1459 so we should probably use it. Gravatar Peter Powell2015-01-241-1/+1
* | Add stdalgo::erase() and use it to simplify codeGravatar Attila Molnar2014-11-011-6/+2
* | Access local user list via new UserManager::GetLocalUsers() and make local_us...Gravatar Attila Molnar2014-07-191-5/+8
* | Move and rename typedef LocalUserList to UserManager::LocalListGravatar Attila Molnar2014-07-191-5/+5
* | Remove now needless User::ForceNickChange()•••Change call sites to call ChangeNick() Gravatar Attila Molnar2014-07-031-1/+1
* | Change allocation of InspIRCd::BanCache to be physically part of the object c...Gravatar Attila Molnar2014-06-131-3/+3
* | Pull in bancache.h from inspircd.hGravatar Attila Molnar2014-06-131-1/+0
* | Omit the server name internally when building a /STATS reply and prepend it l...Gravatar Attila Molnar2014-01-251-1/+1
* | Convert LocalUserList to an intrusively linked listGravatar Attila Molnar2014-01-241-3/+3
* | Improve UserManager::QuitUser() and related code•••- Make operreason optional; NULL means same as quitreason - Remove User::quietquit, it is now handled internally in spanningtree - Send snotice about quitting remote users from spanningtree Gravatar Attila Molnar2014-01-051-2/+2
* | Rename <options:moronbanner> to <options:xlinemessage>.•••This name is more descriptive of what is actually is used for. Gravatar Peter Powell2013-08-101-2/+2
* | Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-041-3/+3
* | Convert XLine::Displayable to return a std::string.Gravatar Peter Powell2013-05-211-13/+13
* | Change the signature of User::ForceNickChange() to accept const std::string& ...Gravatar attilamolnar2013-05-181-1/+1
* | Replace some C-isms with C++-isms.•••* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask. Gravatar Peter Powell2013-05-151-4/+4
* | Add method for writing server notices.•••This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name. Gravatar Peter Powell2013-05-141-1/+1
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-1/+1
* | BanCache: Don't repeat ourselves, one BanCacheManager::AddHit() and one BanCa...Gravatar attilamolnar2013-04-101-4/+1
* | XLine: Provide a default implementation for DisplayExpiry()Gravatar attilamolnar2013-04-091-27/+4
* | Move member variables from User to LocalUser•••- idle_lastmsg - dns_done - quitting_sendq - exempt - lastping Gravatar attilamolnar2013-04-011-8/+12
|/
* Fix expired xlines being treated as live ones in XLineManager::AddLine()•••This fixes ADDLINEs not being propagated and /gline etc. failing for already existing but expired xlines Special thanks to @JDowny (TinMan) for his detailed report and cooperation that made this fix possible Fixes #306 reported by @TurkDesk Fixes #379 reported by @JDowny Gravatar attilamolnar2012-12-051-1/+6
* Add a typedef for LocalUserListGravatar attilamolnar2012-11-291-4/+4
* Change empty string assignments to .clear() or remove them entirely•••Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f Gravatar attilamolnar2012-11-281-1/+1
* Remove superfluous std::string()sGravatar attilamolnar2012-10-121-1/+1
* Remove unnecessary cleanup in XLineManager destructorGravatar attilamolnar2012-08-251-5/+0
* Remove unnecessary string copy in XLineManager::InvokeStatsGravatar attilamolnar2012-08-251-4/+2
* Remove negative BanCache entries only when the AddLine is successful instead ...Gravatar attilamolnar2012-07-221-2/+2
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+18
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Move command-line items to CommandLineConf•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11949 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-1/+2
* Split LocalUser and RemoteUser•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11940 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-4/+4
* Update documentation and remove unused classes/functions•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11938 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-13/+93
* Get rid of a bunch of memory-wasting C-style strings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-031-2/+2
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-7/+7
* Fix iteration of ServerInstance->Users->local_users now that QuitUser can mod...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11732 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-161-2/+3
* Remove calls to strdup() in core, it is not better than std::string•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11623 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-10/+15
* Don't apply bans to E:Lined connections. Should fix bug #896.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11452 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-011-0/+4
* Update all wiki links to point to the new wiki. This was done automatically w...•••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 Gravatar psychon2009-03-151-1/+1
* In retrospect, not allowing *any* XLines to be set was pretty fucking stupid.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11141 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-02-221-1/+5
* Don't remove an expired xline on add, simply drop duplicates (1.1 behaviour)....•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11140 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-02-221-9/+2
* Don't allow expired XLines to be added.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11139 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-02-221-0/+3
* Nuke trailing spaces•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-02-141-7/+6
* Note to self, cast time_t to long int for printf... thanks Ankit for pointing...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11012 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar dz2009-01-281-5/+5
* Make xline expiry messages a bit clearer that the xline may have expired a wh...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11011 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar dz2009-01-281-5/+5
* Check line expiry when touching an xline, to prevent huge buildup of stale li...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11007 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-271-12/+9
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Move stuff to use ASCII map where required.•••Also move this out of being a member totally, as it breaks (gah) and is already untidy.. to be revisited. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10858 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-071-9/+9
* Second part of fix for bug #605, make adding and removal of lines not case se...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10590 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-221-10/+10
* Fix for bug #605 reported by MacGuyver, if a line is expired when we are addi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10589 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-221-1/+10