8508 Commits

Author SHA1 Message Date
brain
007ce21b59 Add deop protection for services, bug #554
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9884 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-10 23:14:32 +00:00
brain
d3fb3fd284 Something we can do in 1.2 that we cant really do neatly in 1.1 - allow for the channel list sizes to be enforced only locally
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9882 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-09 22:57:56 +00:00
brain
f15b86c618 Slight adjustment to our standard to avoid an obvious race condition found by anmaster and nenolod, only really reported by neno. Thanks :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9881 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-09 17:09:53 +00:00
brain
a0c075802c Properly ignore second STARTTLS request on same socket, as per our spec
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9878 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08 23:48:19 +00:00
brain
b3ffc4752f Ignore CAP from clients that have already registered
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9877 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08 22:33:55 +00:00
brain
424ee85016 Dont announce successful rehash if bail is set to true (e.g. we're booting)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9876 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08 21:32:48 +00:00
brain
61dd3cb1ae 1.2.0a4+Angus (Yummeh!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9872 e03df62e-2008-0410-955e-edbf42e46eb7
v1.2.0a4
2008-06-08 18:28:26 +00:00
brain
0c4ef6e905 Add module that allows hiding of MAP and LINKS as per ircu, e.g. ":server.name NOTICE nick :The /MAP command has been disabled, visit: url"
URL is configurable in the config file, blocks LINKS and MAP for non-opers.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9870 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08 16:44:14 +00:00
brain
aa96718ad0 More useful error reporting that give closer line numbers, so long as you can read them :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9869 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08 15:47:45 +00:00
brain
c5316dcc14 Config reader strictness: check for escape sequences (\" etc) outside of a quoted section and deny it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9868 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08 14:50:54 +00:00
brain
1994ec96dc Make checks more strict
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9867 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08 14:46:41 +00:00
brain
cefc833f34 Bitch when we find stray characters outside of a tag, this will track down a lot of config errors that arent noticed till the end of the file at present
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9866 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08 14:43:37 +00:00
brain
f393f58b5c Allow 0-9 in tag/key names, and special check for > and \n
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9865 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08 14:37:47 +00:00
brain
225f37a376 Check in tag names too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9864 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08 14:25:09 +00:00
brain
9095800a17 Check for invalid characters in keys, will catch config errors earlier and closer to the actual error line. Valid values in key names are [A-Za-z_]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9863 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08 14:21:21 +00:00
brain
29fc8d035e Fix #551
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9862 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08 00:14:05 +00:00
brain
95e4d51f91 Remove this debug line, eliminating its pointless warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9858 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06 23:12:04 +00:00
brain
2cf457180d And fix typo that came with it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9857 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06 23:05:27 +00:00
brain
3327dcb7ce Fix bug from std::string porting, thanks ThunderHacker
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9856 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06 23:03:57 +00:00
brain
3d506cfd7d Add patch for bug #549, conf file update from jackmcbarn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9852 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06 17:52:47 +00:00
brain
18e760649a Whoops, remote users not being counted in map, fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9851 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06 16:50:01 +00:00
brain
b523e54a45 Abort on matchlist.length() > 450
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9850 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06 16:19:07 +00:00
brain
fdaf67113a Whoops eat command not allow it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9849 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06 16:13:17 +00:00
brain
7332421657 If we have > 10 matches to a command, abort and dont try and show the list. This stops "/." listing a massive amount of commands too long to show, and keeps things within common sense. :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9848 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06 16:12:38 +00:00
brain
715eba3932 On ambiguous abbreviation, list all possibilities and eat the command (numeric 420, unused and as close as i could get it to numeric 421, unknown command)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9847 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06 16:09:23 +00:00
brain
58857b594c Remove excessive debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9846 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06 15:49:39 +00:00
brain
61185fc62b m_abbreviation completed. :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9845 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06 15:47:39 +00:00
brain
8172d4afcf More spanningtree tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9844 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06 15:34:43 +00:00
brain
4bb3340799 Another here too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9843 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06 15:32:56 +00:00
brain
fc3a83831b Update a header i left out
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9842 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06 15:31:43 +00:00
brain
f4445fe712 Fix compile error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9841 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06 15:28:24 +00:00
brain
a914ae9195 Allow changing of command string and parameter vector within OnPreCommand, allowing for m_abbreviation and other fancy stuff.
Add basic skeleton module for it


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9840 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06 15:22:07 +00:00
brain
4e14ff66f1 Fix for bug #548 reported by jackmcbarn, away message not unsetting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9837 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-03 21:18:54 +00:00
bricker
4ac568dd5c ya, adding some stuff with DEV LEVEL ACCESS (sorry)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9834 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-03 06:51:17 +00:00
special
45d1d44c5f Only prepare epoll for 25% of maxfds initially; it will grow beyond that as necessary, but it's pretty unusual to be loading your server that much. Should save some kernel memory, too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9832 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-01 18:36:08 +00:00
brain
d7c21331eb Remove limits on assigning of oper types. Theres no practical reason to restrict these to nicklen length
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9831 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-01 18:22:42 +00:00
peavey
9759b69735 Improve debug output on a few key methods of epoll socketengine, a must when coding for the socket engine.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9830 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-01 17:17:17 +00:00
w00t
445927aa6c Fix warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9829 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-01 14:25:48 +00:00
brain
ada434820d Add ProtocolInterface::Introduce() to prevent confusion over event ordering, and allow for more flexible protocol use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9827 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-01 14:18:07 +00:00
w00t
0620c97abd Forward port r9825: Fix bug found by the atheme migration testing: +V should never affect INVITE from a remote issuer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9826 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-31 18:44:15 +00:00
bricker
2c967f564b and another rev bites the dust..thanks dz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9824 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-31 16:58:17 +00:00
bricker
e2928ddd2c fix. thanks jackmcbarn and special.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9823 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-31 16:40:49 +00:00
bricker
28e47d6ac2 make the +J msg a little more coherent
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9822 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-31 16:28:49 +00:00
bricker
0a3cdb73b6 removed duplicate quotes. Thanks jackmcbarn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9821 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-29 20:48:16 +00:00
bricker
2e450a179f fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9820 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-29 20:20:02 +00:00
bricker
444ceed0af inspircd allows him to
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9819 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-29 20:18:55 +00:00
bricker
74cea87820 If Chuck Norris and InspIRCd met in a dark alley, Chuck Norris would get his first black eye. Ever.
and lots more :D:D

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9818 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-29 20:12:56 +00:00
brain
7547509db9 Apply patch to fix ipv6 builds, contributed by danieldg, thanks :-)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9817 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-29 18:46:36 +00:00
peavey
a82e3bb5ae Finally get the headers right on this module.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9815 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-29 02:04:26 +00:00
peavey
2da4014eb2 revert this 1 revision back, since it fell victim to collateral damage of the latest refactor spree.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9814 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-28 23:59:04 +00:00