9077 Commits

Author SHA1 Message Date
w00t
67b482682e Remove +o from users on deoper, plausible fix for bug #653 reported by 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-03 17:25:10 +00:00
w00t
41bcf2c5a4 Remove extra 'i'.. oopsie :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10939 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-03 16:45:55 +00:00
w00t
bbce9d1247 Remove silly comment from r10,000.. mostly just testing vim..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10938 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-03 16:45:54 +00:00
peavey
193d40378f Fix old typo.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10936 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-03 06:16:13 +00:00
brain
31407a3b9e ...and make it not go querying modules that dont implement the right 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-02 23:26:54 +00:00
brain
7fdb199071 If a module is loaded after m_spanningtree that it needs, then it will now 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-02 23:15:09 +00:00
w00t
0aac6a2b2a Branch merge
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10933 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02 18:45:12 +00:00
w00t
43847ec9c7 Update copyrights for 2009.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02 18:16:05 +00:00
peavey
4e6997fddf Fix typo opermoth -> opermotd. Thanks Ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10931 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02 16:03:42 +00:00
peavey
ea5245d625 Make it optional to show opermotd on /OPER, defaults to showing the motd if not specified.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10930 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02 15:59:02 +00:00
brain
5ea3005897 Change numeric 671, starttls failure to 691. 671 conflicts with unreal's ssl 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-31 13:00:01 +00:00
brain
b0546ed55e Fix bug spotted by KingTarquin, if an empty string is given to /stats with "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-28 22:18:49 +00:00
w00t
376a2833d9 Change a few bits to use std::list instead of std::vector.
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-28 03:27:28 +00:00
w00t
98632e1ba4 Modify STARTTLS error message to clarify that it may not be sent after registration has commenced.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10922 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-28 02:29:10 +00:00
w00t
0f4dd92954 Fix unnecessary use of map, set is better suited.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10921 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27 13:52:37 +00:00
w00t
dcec1cca17 Fix a comment too.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10920 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27 13:46:54 +00:00
w00t
dcf958f42b Use std::set instead of std::map needlessly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10919 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27 13:34:52 +00:00
w00t
c2ea19643b Mark a member static so it isn't exported needlessly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10918 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27 13:34:51 +00:00
w00t
97cc4bf672 Place CRT debug defines in win32wrapper.h, so they are defined everywhere. 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-27 03:18:51 +00:00
w00t
314ff09e0a Remove extra 'i'.. oopsie :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10916 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27 02:48:53 +00:00
w00t
bc05569e2d Remove silly comment from r10,000.. mostly just testing vim..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10915 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27 02:45:29 +00:00
brain
248f6e5e1d Cover most of the included oper commands in the default examples of class 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-27 02:41:12 +00:00
brain
4e07708458 Spelig eror.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10913 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27 02:29:12 +00:00
brain
91665f1ff6 We dont need <type:canquiet> now in 1.2, as class tags allow restrictions of 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-27 02:18:46 +00:00
dz
9f5c76c484 propset m_operprefix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10911 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-26 15:44:38 +00:00
w00t
254910b9b2 VF_VENDOR, ModDesc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10910 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-26 15:23:07 +00:00
w00t
fd3898589e Return ERR_NOPRIVILEGES for +P without channels/set-permanent priv.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10908 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-24 00:45:03 +00:00
w00t
f8254d68b5 Fix for bug #646, reported by whotookspaz (+y not being applied to existing channels on oper). Thanks!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10907 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-24 00:45:02 +00:00
w00t
1c07cf9aaa Backport from socket branch: allow read and write events to be triggered on one kqueue iteration
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10906 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-23 16:14:38 +00:00
w00t
013bcae0cf Make error message on finding an un-includable include a bit more helpful
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10905 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-22 15:05:01 +00:00
brain
29706dd23a Allow for kick from a server origin to have a comma seperated list of 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-21 18:12:08 +00:00
dz
7f28ef9777 Minor documentation fix, spotted by Johannes13
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10902 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-21 13:44:01 +00:00
w00t
5524a81896 Readd check for +P setting to channels/set-permanent priv, thanks Johannes13 - naughty Namegduf for patching this out :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10901 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-20 13:09:34 +00:00
brain
c681081852 Wakey wakey w00t :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10900 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-18 23:01:29 +00:00
w00t
59a78436cc Fix a windows compile screwup, courtesy of me.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10899 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-18 22:20:43 +00:00
brain
267634cc1a New iterative replacement function for m_censor, so that if some silly admin 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-18 19:16:45 +00:00
dz
c381d405f9 Properly disconnect clients that send STARTTLS after registering; noticed by jdhore
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10897 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-18 02:52:22 +00:00
special
e20cfc7506 Added the VF_VENDOR flag to m_servprotect; noticed by Johannes13
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10896 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-16 16:18:16 +00:00
w00t
534870ed22 Remove numbers from these. They shouldn't be used anyway, enums are designed 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-15 13:58:43 +00:00
peavey
a4306bc318 Handle file not found, and tidy up the perl.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10894 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15 13:31:56 +00:00
w00t
9ab8bbe92e Stupid linebreak.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10893 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15 12:49:48 +00:00
w00t
2fe63d8a83 Add missing copyright header.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10892 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15 12:14:30 +00:00
w00t
187544bfd0 Fix naming convention to be consistant. (cmd_ -> Command)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10891 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15 12:14:04 +00:00
peavey
abdc701198 Add support for freetds 0.82 which is being shipped now with newer distros, 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-15 03:03:37 +00:00
aquanight
8d075de12b Oops
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10889 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15 01:14:34 +00:00
aquanight
22522bc942 Make it easier to add commands to the run script without having millions of bits of duplication.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10888 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15 01:06:51 +00:00
brain
4bf89d68d0 Some stuff removed from here that is no longer supported
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10885 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-14 21:55:18 +00:00
psychon
683055a13b Also use freenode's 470 numeric in m_banredirect.
(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-13 15:55:46 +00:00
psychon
e0e0e06d0a m_ssl_gnutls: Log ssl errors
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10883 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-13 15:49:04 +00:00
w00t
f72b7a7194 Use freenode's 470 numeric for redirection.
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-13 15:41:19 +00:00