summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-18Revert "Revert some of w00ts kqueue massacre from september, for some reason ↵w00t
its not too stable, e.g. placing wantwrite sockets into oneshot wantread? :P" This reverts commit 11302829a008263dc306d08d675ad49d7d3f62ab. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10970 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-18Fix bug #673, reported by Ankit: various cosmetic issues with filter. Patch ↵w00t
from Ankit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10969 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-18Fix bug #680, reported by Namegduf: 1.2 SHUN does not respect the notifyuser ↵w00t
option, and always notifies the user that their command was blocked. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10968 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-18Fix a small typo in shun notice, reported by Ankit. Closes bug #666. (!)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10967 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-17Fix for bug #679 reported by Namegduf, based on suggestion for fix by dz, ↵brain
thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10966 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-15Prevent snotices being sent out for a completely empty modebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10964 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-15Bad check on getstatus() found by Ankit, thanks :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10963 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-14This is more accurate. #ifndef __FreeBSD__, #else, #endifbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10962 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-14This should work, but not sure on these defines in poll socketenginebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10961 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-14Revert some of w00ts kqueue massacre from september, for some reason its not ↵brain
too stable, e.g. placing wantwrite sockets into oneshot wantread? :P randomly uses 100% cpu with the newer code, seems kqueue doesnt quite like to work exactly the same as epoll and poll. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10960 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-10Fix incorrect classname in operinvex (not broken, just wrong code)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10959 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-10Fix bug #665 reported by Ankit, m_services_account.so was denying its own ↵dz
mode change on nick change. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10958 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-09Remove channel::created as its unused and only serves to confuse (see last ↵peavey
commit to m_check). As a bonus saves memory usage :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10955 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-09Change /CHECK <#channel> to correctly report timestamp since it might have ↵peavey
been TS synced after creation. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10954 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-09Correctly match alias formats (was backwards) and avoid going on to other ↵dz
aliases if none match. Fixes bug #668 reported by Ankit, thanks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10953 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-07Readability: pointless construct of a std::string from another std::string ↵brain
for throwing an exception git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10952 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-07Fix an incorrect check leading to backwards functionality, closes bug #663 ↵w00t
(hideoper not working), reported by liato. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10950 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-04Friendlify error message here toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10948 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-04Fixed behavior of KICK in m_auditorium, fixes bug #649 reported by Schiz0.dz
Also replaced usage of Channel::WriteAllExcept() with WriteAllExceptSender() as the former does not except the sender and requires an extra unused variable. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10944 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-04This is out of date, useless, and nobody updates it.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10943 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-03Fix for bug #652, reported by Ankit: blank reply from /userip with no target ↵w00t
online. Thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10941 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-03Remove +o from users on deoper, plausible fix for bug #653 reported by ↵w00t
Ankit. Let me know if it's still b0rked, please :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10940 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-03Remove extra 'i'.. oopsie :Pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10939 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-03Remove silly comment from r10,000.. mostly just testing vim..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10938 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-03Fix old typo.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10936 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02...and make it not go querying modules that dont implement the right ↵brain
interface and cause it to crash :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10935 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02If a module is loaded after m_spanningtree that it needs, then it will now ↵brain
re-read its configuration file. The code is also now in the right place to pick this up on rehash too not just on load. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10934 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02Branch mergew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10933 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02Update copyrights for 2009.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02Fix typo opermoth -> opermotd. Thanks Ankit.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10931 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02Make it optional to show opermotd on /OPER, defaults to showing the motd if ↵peavey
not specified. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10930 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-31Change numeric 671, starttls failure to 691. 671 conflicts with unreal's ssl ↵brain
user numeric. It's documented on our wiki as 'kineircd' but kineircd was never even realeased, so we cant go on that, we'll go with what the unreal numeric says. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10928 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-28Fix bug spotted by KingTarquin, if an empty string is given to /stats with ↵brain
"STATS :", then a byte of undefined memory in a std::string object is read as the stats char. Probably unsafe. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10927 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-28Change a few bits to use std::list instead of std::vector.w00t
Vector is better than list, unless: - you require random access (these don't) - you require that the memory they are stored in are contiguous (these don't) This will save a couple of bytes here and there perhaps (along with much less problems with memory fragmentation and allocation). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10923 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-28Modify STARTTLS error message to clarify that it may not be sent after ↵w00t
registration has commenced. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10922 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27Fix unnecessary use of map, set is better suited.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10921 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27Fix a comment too.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10920 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27Use std::set instead of std::map needlessly.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10919 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27Mark a member static so it isn't exported needlessly.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10918 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27Place CRT debug defines in win32wrapper.h, so they are defined everywhere. ↵w00t
This was also incorrectly inside an ifndef WINDOWS, and hadbeen for a while. (oops.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10917 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27Remove extra 'i'.. oopsie :Pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10916 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27Remove silly comment from r10,000.. mostly just testing vim..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10915 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27Cover most of the included oper commands in the default examples of class ↵brain
tags, so that less users are confused about missing commands from the defaults git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10914 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27Spelig eror.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10913 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27We dont need <type:canquiet> now in 1.2, as class tags allow restrictions of ↵brain
user and channel modes directly via the core, without need for this extra security sugar git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10912 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-26propset m_operprefixdz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10911 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-26VF_VENDOR, ModDescw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10910 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-24Return ERR_NOPRIVILEGES for +P without channels/set-permanent priv.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10908 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-24Fix for bug #646, reported by whotookspaz (+y not being applied to existing ↵w00t
channels on oper). Thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10907 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-23Backport from socket branch: allow read and write events to be triggered on ↵w00t
one kqueue iteration git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10906 e03df62e-2008-0410-955e-edbf42e46eb7