8244 Commits

Author SHA1 Message Date
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
brain
44ac35082c Fix error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9812 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-26 12:52:28 +00:00
brain
16ea016846 Eliminate string joining craq
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9811 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-26 12:44:54 +00:00
brain
c1c9dfe2bf Dont increment maxmodes at finalisation, it isnt used in the same way
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9810 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-26 12:17:38 +00:00
brain
f5151d1bbc All the limits were one less than specified in the config, so now we postincrement them all in configreader, this means we can just use them without all that +1 hackery in the code.
This DOES mean that from a protocol perspective the figures look a little odd, but they always did. :)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9809 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 21:09:04 +00:00
brain
d019781945 Add parsing of <limits> tag and finish documenting it, make all the values match sensibly by starting them all 'max' rather than some starting with it, some ending with it...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9808 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 18:00:55 +00:00
brain
a21b0c77e7 Example conf now with <limits> tag
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9807 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 17:50:44 +00:00
brain
01a8a8ca82 Give modestacker a serverinstance
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9806 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 17:39:22 +00:00
brain
ad2a7f64c4 More compile fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9805 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 17:38:17 +00:00
brain
c5de9cee03 Compile fixes, was forced to move some stuff around
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9804 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 17:35:02 +00:00
brain
bae9f69eaf Remove the limits from here too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9803 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 17:32:57 +00:00
brain
7d7250484c First phase of conversion to dynamic limits on all the lengths, configured via the <limits> tag
(the tag isnt there yet, these all just run on defaults in the class constructor)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9802 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 17:30:43 +00:00
brain
e7b837ec5f Kick the client in the balls if they try STARTTLS after client registration
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9801 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-24 12:12:46 +00:00
brain
813bc55a84 Fix memory leak if we send STARTTLS twice, thanks special and psychon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9800 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-24 12:05:08 +00:00
brain
b87565e344 Add interesting test case
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9799 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-23 23:42:53 +00:00