summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2008-12-22Make error message on finding an un-includable include a bit more helpfulw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10905 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-21Allow for kick from a server origin to have a comma seperated list of ↵brain
nicknames to be kicked. Previously this was only supported by the user origin version git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10904 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-21Minor documentation fix, spotted by Johannes13dz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10902 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-20Readd check for +P setting to channels/set-permanent priv, thanks Johannes13 ↵w00t
- naughty Namegduf for patching this out :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10901 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-18Wakey wakey w00t :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10900 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-18Fix a windows compile screwup, courtesy of me.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10899 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-18New iterative replacement function for m_censor, so that if some silly admin ↵brain
defines a replacement string that itself contains the search string, then the module wont get stuck in an infinite loop :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10898 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-18Properly disconnect clients that send STARTTLS after registering; noticed by ↵dz
jdhore git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10897 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-16Added the VF_VENDOR flag to m_servprotect; noticed by Johannes13special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10896 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15Remove numbers from these. They shouldn't be used anyway, enums are designed ↵w00t
to prevent magic numbers abuse :). Thanks Johannes13! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10895 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15Handle file not found, and tidy up the perl.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10894 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15Stupid linebreak.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10893 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15Add missing copyright header.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10892 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15Fix naming convention to be consistant. (cmd_ -> Command)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10891 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15Add support for freetds 0.82 which is being shipped now with newer distros, ↵peavey
and maintain compatibility for 0.64 and up. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10890 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15Oopsaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10889 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15Make it easier to add commands to the run script without having millions of ↵aquanight
bits of duplication. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10888 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-14Some stuff removed from here that is no longer supportedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10885 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-13Also use freenode's 470 numeric in m_banredirect.psychon
(P.S.: This also fixes a bug from the last commit) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10884 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-13m_ssl_gnutls: Log ssl errorspsychon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10883 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-13Use freenode's 470 numeric for redirection.w00t
Note that if redirection channel is +L, then a 470 with target channel '*' will be omitted to indicate you would be redirected, but cannot. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10882 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-12Fix problem with autoconnects: don't reset NextConnectTime to a higher value ↵w00t
than it currently is, as that doesn't play very nice with multiple autoconnect values.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10879 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-10Fix typo.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10874 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-09Fix out of date docs, thanks owine.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10873 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-08If we can't find file.conf, search for file.conf.txt when on windows.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10872 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-08Use national charset pointer instead of RFC charset pointer. Should fix hash ↵w00t
equivilancy checking, etc. Try this, Phoenix. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10871 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-08Fix silly oversight discovered by tra26 (thanks!) where the core tries to ↵brain
handle hash providers other than plaintext by direct string comparison, allowing someone to oper up by specifying the md5 sum of an md5 password, etc! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10870 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Disallow any messageflood parameter where x < 2 in +f x:y, prevents moronic ↵brain
behaviour like #pokeworld are doing here on chatspike. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10869 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Patch to allow bindings to all ips on an ipv4 only system where the build is ↵brain
ipv6 (e.g. how debian build it) -- thanks for the patch danieldg git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10867 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Make an error message more verbose to help usersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10866 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Fix glitch before releasebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10864 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Gyr!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10863 e03df62e-2008-0410-955e-edbf42e46eb7