summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-01-22Update copyright date.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10982 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22Fix a small warning (char being used as array subscript) by just using int ↵w00t
instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10981 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22Fixes bug #655: National characters support, patch written mostly by ↵w00t
Phoenix, bits of core support by myself. This means that nicknames using *non ASCII* are now supported when configured, and more importantly, that /msg lowercasenick will go to a person with UPPERCASENICK in foreign character sets. The locale setting MUST be the same network-wide. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10980 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22Fix bug #659, #524 and others: Allow operoverride to set +qa. Based on patch ↵w00t
by Phoenix. Note that this is currently untested, feedback is very welcome. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10979 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22Fix bug #678 reported by Ankit (opertype invex wasn't working, as I failed ↵w00t
and forgot to hook the damn event.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10978 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22Tone down some logging to make debugging a tiny bit easier.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10977 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22Small fix: don't set default modes when joining if usercount == 0, set if it ↵w00t
was actually created locally - this is needed due to +P. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10976 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22Revert "Check nickname validity on introduction, closes bug #682 reported by ↵w00t
danieldg (thanks)." This broke stuff. This reverts commit 4d29ae6cc6c4f5ba410b58cc0807f018484f6447. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10975 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-21Check nickname validity on introduction, closes bug #682 reported by ↵w00t
danieldg (thanks). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10974 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-18Hmm, why didnt this go through before?brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10973 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-18Missed one, thx peavey!w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10972 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-18Fix what should have been the (real) problems with kqueue, so far so good ↵w00t
for me.. this *does* need more testing though. Fix spotted by dz (check .filter, not .flags, and don't try to use it as a bitmask). TOR, ratbox, and similar projects use code like this, so I am fairly confident it is ok. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10971 e03df62e-2008-0410-955e-edbf42e46eb7
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-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-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-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-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