summaryrefslogtreecommitdiff
path: root/src/channels.cpp
Commit message (Expand)AuthorAgeFilesLines
* Check for oper max chans before user max chans, fixes code weirdness and bug ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11422 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-06-301-8/+0
* Use a FakeUser source for server-sourced commands in spanningtree•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11376 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-131-43/+2
* Overloading SetMode seems to cause the compiler to interpret "" as a bool and...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11335 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-291-1/+1
* Fix crash from unregistered users joining a channel, discovered by Namegduf•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11328 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-241-1/+2
* Use loopCall to protect OnUserKick rather than the triggerevents hack•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11321 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-201-5/+2
* Fix SetModeParam to use std::string and handle edge cases.•••Previously, changing the vaule of a mode could require 3 calls to SetMode and SetModeParam. This also fixes memory leaks caused by the strdup() not always being paired with a free(). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11307 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-171-13/+8
* Check IsBanned even when the ban list is empty, so that module hooks get call...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-231-6/+3
* 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
* Extban rework: allow exceptions to override bans on join•••Move all bans that prevent a user from joining the channel to OnCheckBan, then stack their return results to allow an exception to override a ban. This does not make join exceptions override any other exception like mute. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11222 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-141-51/+46
* Nuke trailing spaces•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-02-141-1/+1
* Small fix: don't set default modes when joining if usercount == 0, set if it ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10976 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-221-2/+6
* Remove channel::created as its unused and only serves to confuse (see last co...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10955 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-01-091-4/+2
* 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
* Add priv channels/high-join-limit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10670 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-181-1/+1
* This string copy is gone now, remove fixme note•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10376 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-021-2/+0
* Allow Channel::SetTopic with a NULL user record, which sets a blank topic.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10270 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-251-4/+13
* match() is no longer a function+no header, now a static method of InspIRCd cl...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10212 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-211-8/+5
* Fix RPL_NAMREPLY sometimes fucking up•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10137 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-101-1/+1
* Implement <options:invitebypassmodes>, optionally circumvent +blk if invited ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10120 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-071-5/+18
* Fix TOPIC to work on propegation again•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-051-2/+1
* Add optional 3rd parameter to Channel::SetTopic() which overrides all access ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10085 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2008-08-041-15/+19
* Oops, actually, return 1 to block change, 0 to check it, -1 to allow it regar...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10083 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-041-1/+1
* Add Channel::SetTopic(User *, std::string &) to set topic on a channel. Use i...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10082 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-041-0/+39
* Remove last vestige of libircdfoo, by changing tag into a single identifier...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10076 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-291-1/+1
* Remove duplicated member, kept in classes.. Possible now we have a pointer. t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10064 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-211-2/+3
* Remove custom members for +lk storage•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10053 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-201-27/+27
* Fixes to some stuff that writes on memory it shouldn't (thanks psychon).•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10047 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-201-1/+1
* Fix parts being screwed up, thanks psychon•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10027 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-161-1/+1
* Finish channels.cpp conversion to numerics list•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10007 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-131-6/+6
* Add include/numerics.h, contains/will contain an enum for numerics. Work in p...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10006 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-131-9/+9
* Debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9990 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-0/+1
* Okay, and there's the working version of it. Extbans that don't work on users...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9988 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-25/+16
* Overload IsExtBanned to provide a *string matching* version, this finally ope...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9987 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-0/+26
* Add OnCheckExtBan, will be used for exceptions to extbans•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9957 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-111-15/+21
* Convert API to use std::string, fixes my slight bug from earlier and looks ti...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9956 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-111-9/+3
* Fix m_nopartmsg to work via API modification, involves a string copy that won...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9953 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-111-1/+9
* for real•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9898 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar pippijn2008-06-121-14/+14
* First phase of conversion to dynamic limits on all the lengths, configured vi...•••(the tag isnt there yet, these all just run on defaults in the class constructor) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9802 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-251-3/+3
* Convert channel::name to std::string, this was a beastie!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9770 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-191-31/+28
* Convert channel banlist members to std::string•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9769 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-191-4/+1
* Make User:: nick/ident/dhost/fullname and some other things std::string inste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9748 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-05-181-23/+23
* Remove .c_str()'s in match() calls that are no longer needed as match() nativ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9737 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-181-1/+1
* Change that allows the m_override module to not announce a key override for a...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9516 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-161-2/+2
* Fix for bug #513•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9449 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-101-1/+4
* Fix for bug #510•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9415 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-071-1/+2
* Make it work properly, too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9406 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-071-1/+1
* Show server kills with correct origin, UNLESS hidden server in whois is set•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9405 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-071-1/+1
* This should probably be tested, but makes a whole lot more sense like this (u...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9404 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-071-2/+5
* Stupid, stupid :| use the correct variable to find existing channel (this cau...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9385 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-061-1/+1
* Remove debug printf•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9339 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-041-1/+0