]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
16 years agofixed some indentation and spacing in modules
pippijn [Wed, 11 Jun 2008 11:35:23 +0000 (11:35 +0000)]
fixed some indentation and spacing in modules

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoremoved useless "else"
pippijn [Wed, 11 Jun 2008 02:24:01 +0000 (02:24 +0000)]
removed useless "else"

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9887 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoChange wording of message: You are not permitted to remove privileges from %s services
brain [Tue, 10 Jun 2008 23:27:29 +0000 (23:27 +0000)]
Change wording of message: You are not permitted to remove privileges from %s services

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9886 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoReally smart extra stuff in the deop check
brain [Tue, 10 Jun 2008 23:24:06 +0000 (23:24 +0000)]
Really smart extra stuff in the deop check

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9885 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd deop protection for services, bug #554
brain [Tue, 10 Jun 2008 23:14:32 +0000 (23:14 +0000)]
Add deop protection for services, bug #554

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9884 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoSomething we can do in 1.2 that we cant really do neatly in 1.1 - allow for the chann...
brain [Mon, 9 Jun 2008 22:57:56 +0000 (22:57 +0000)]
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

16 years agoSlight adjustment to our standard to avoid an obvious race condition found by anmaste...
brain [Mon, 9 Jun 2008 17:09:53 +0000 (17:09 +0000)]
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

16 years agoProperly ignore second STARTTLS request on same socket, as per our spec
brain [Sun, 8 Jun 2008 23:48:19 +0000 (23:48 +0000)]
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

16 years agoIgnore CAP from clients that have already registered
brain [Sun, 8 Jun 2008 22:33:55 +0000 (22:33 +0000)]
Ignore CAP from clients that have already registered

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9877 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoDont announce successful rehash if bail is set to true (e.g. we're booting)
brain [Sun, 8 Jun 2008 21:32:48 +0000 (21:32 +0000)]
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

16 years ago1.2.0a4+Angus (Yummeh!)
brain [Sun, 8 Jun 2008 18:28:26 +0000 (18:28 +0000)]
1.2.0a4+Angus (Yummeh!)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9872 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd module that allows hiding of MAP and LINKS as per ircu, e.g. ":server.name NOTICE...
brain [Sun, 8 Jun 2008 16:44:14 +0000 (16:44 +0000)]
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

16 years agoMore useful error reporting that give closer line numbers, so long as you can read...
brain [Sun, 8 Jun 2008 15:47:45 +0000 (15:47 +0000)]
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

16 years agoConfig reader strictness: check for escape sequences (\" etc) outside of a quoted...
brain [Sun, 8 Jun 2008 14:50:54 +0000 (14:50 +0000)]
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

16 years agoMake checks more strict
brain [Sun, 8 Jun 2008 14:46:41 +0000 (14:46 +0000)]
Make checks more strict

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9867 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoBitch when we find stray characters outside of a tag, this will track down a lot...
brain [Sun, 8 Jun 2008 14:43:37 +0000 (14:43 +0000)]
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

16 years agoAllow 0-9 in tag/key names, and special check for > and \n
brain [Sun, 8 Jun 2008 14:37:47 +0000 (14:37 +0000)]
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

16 years agoCheck in tag names too
brain [Sun, 8 Jun 2008 14:25:09 +0000 (14:25 +0000)]
Check in tag names too

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9864 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoCheck for invalid characters in keys, will catch config errors earlier and closer...
brain [Sun, 8 Jun 2008 14:21:21 +0000 (14:21 +0000)]
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

16 years agoFix #551
brain [Sun, 8 Jun 2008 00:14:05 +0000 (00:14 +0000)]
Fix #551

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9862 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove this debug line, eliminating its pointless warning
brain [Fri, 6 Jun 2008 23:12:04 +0000 (23:12 +0000)]
Remove this debug line, eliminating its pointless warning

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9858 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAnd fix typo that came with it
brain [Fri, 6 Jun 2008 23:05:27 +0000 (23:05 +0000)]
And fix typo that came with it

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9857 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix bug from std::string porting, thanks ThunderHacker
brain [Fri, 6 Jun 2008 23:03:57 +0000 (23:03 +0000)]
Fix bug from std::string porting, thanks ThunderHacker

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9856 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd patch for bug #549, conf file update from jackmcbarn
brain [Fri, 6 Jun 2008 17:52:47 +0000 (17:52 +0000)]
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

16 years agoWhoops, remote users not being counted in map, fix
brain [Fri, 6 Jun 2008 16:50:01 +0000 (16:50 +0000)]
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

16 years agoAbort on matchlist.length() > 450
brain [Fri, 6 Jun 2008 16:19:07 +0000 (16:19 +0000)]
Abort on matchlist.length() > 450

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9850 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoWhoops eat command not allow it
brain [Fri, 6 Jun 2008 16:13:17 +0000 (16:13 +0000)]
Whoops eat command not allow it

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9849 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoIf we have > 10 matches to a command, abort and dont try and show the list. This...
brain [Fri, 6 Jun 2008 16:12:38 +0000 (16:12 +0000)]
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

16 years agoOn ambiguous abbreviation, list all possibilities and eat the command (numeric 420...
brain [Fri, 6 Jun 2008 16:09:23 +0000 (16:09 +0000)]
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

16 years agoRemove excessive debug
brain [Fri, 6 Jun 2008 15:49:39 +0000 (15:49 +0000)]
Remove excessive debug

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9846 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agom_abbreviation completed. :)
brain [Fri, 6 Jun 2008 15:47:39 +0000 (15:47 +0000)]
m_abbreviation completed. :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9845 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMore spanningtree tweaks
brain [Fri, 6 Jun 2008 15:34:43 +0000 (15:34 +0000)]
More spanningtree tweaks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9844 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAnother here too
brain [Fri, 6 Jun 2008 15:32:56 +0000 (15:32 +0000)]
Another here too

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9843 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoUpdate a header i left out
brain [Fri, 6 Jun 2008 15:31:43 +0000 (15:31 +0000)]
Update a header i left out

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9842 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix compile error
brain [Fri, 6 Jun 2008 15:28:24 +0000 (15:28 +0000)]
Fix compile error

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9841 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAllow changing of command string and parameter vector within OnPreCommand, allowing...
brain [Fri, 6 Jun 2008 15:22:07 +0000 (15:22 +0000)]
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

16 years agoFix for bug #548 reported by jackmcbarn, away message not unsetting
brain [Tue, 3 Jun 2008 21:18:54 +0000 (21:18 +0000)]
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

16 years agoya, adding some stuff with DEV LEVEL ACCESS (sorry)
bricker [Tue, 3 Jun 2008 06:51:17 +0000 (06:51 +0000)]
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

16 years agoOnly prepare epoll for 25% of maxfds initially; it will grow beyond that as necessary...
special [Sun, 1 Jun 2008 18:36:08 +0000 (18:36 +0000)]
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

16 years agoRemove limits on assigning of oper types. Theres no practical reason to restrict...
brain [Sun, 1 Jun 2008 18:22:42 +0000 (18:22 +0000)]
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

16 years agoImprove debug output on a few key methods of epoll socketengine, a must when coding...
peavey [Sun, 1 Jun 2008 17:17:17 +0000 (17:17 +0000)]
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

16 years agoFix warning
w00t [Sun, 1 Jun 2008 14:25:48 +0000 (14:25 +0000)]
Fix warning

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9829 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd ProtocolInterface::Introduce() to prevent confusion over event ordering, and...
brain [Sun, 1 Jun 2008 14:18:07 +0000 (14:18 +0000)]
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

16 years agoForward port r9825: Fix bug found by the atheme migration testing: +V should never...
w00t [Sat, 31 May 2008 18:44:15 +0000 (18:44 +0000)]
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

16 years agoand another rev bites the dust..thanks dz
bricker [Sat, 31 May 2008 16:58:17 +0000 (16:58 +0000)]
and another rev bites the dust..thanks dz

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9824 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agofix. thanks jackmcbarn and special.
bricker [Sat, 31 May 2008 16:40:49 +0000 (16:40 +0000)]
fix. thanks jackmcbarn and special.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9823 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agomake the +J msg a little more coherent
bricker [Sat, 31 May 2008 16:28:49 +0000 (16:28 +0000)]
make the +J msg a little more coherent

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9822 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoremoved duplicate quotes. Thanks jackmcbarn
bricker [Thu, 29 May 2008 20:48:16 +0000 (20:48 +0000)]
removed duplicate quotes. Thanks jackmcbarn

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9821 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agofix
bricker [Thu, 29 May 2008 20:20:02 +0000 (20:20 +0000)]
fix

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9820 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoinspircd allows him to
bricker [Thu, 29 May 2008 20:18:55 +0000 (20:18 +0000)]
inspircd allows him to

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9819 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoIf Chuck Norris and InspIRCd met in a dark alley, Chuck Norris would get his first...
bricker [Thu, 29 May 2008 20:12:56 +0000 (20:12 +0000)]
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

16 years agoApply patch to fix ipv6 builds, contributed by danieldg, thanks :-)
brain [Thu, 29 May 2008 18:46:36 +0000 (18:46 +0000)]
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

16 years agoFinally get the headers right on this module.
peavey [Thu, 29 May 2008 02:04:26 +0000 (02:04 +0000)]
Finally get the headers right on this module.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9815 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agorevert this 1 revision back, since it fell victim to collateral damage of the latest...
peavey [Wed, 28 May 2008 23:59:04 +0000 (23:59 +0000)]
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

16 years agoFix error
brain [Mon, 26 May 2008 12:52:28 +0000 (12:52 +0000)]
Fix error

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9812 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoEliminate string joining craq
brain [Mon, 26 May 2008 12:44:54 +0000 (12:44 +0000)]
Eliminate string joining craq

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9811 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoDont increment maxmodes at finalisation, it isnt used in the same way
brain [Mon, 26 May 2008 12:17:38 +0000 (12:17 +0000)]
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

16 years agoAll the limits were one less than specified in the config, so now we postincrement...
brain [Sun, 25 May 2008 21:09:04 +0000 (21:09 +0000)]
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

16 years agoAdd parsing of <limits> tag and finish documenting it, make all the values match...
brain [Sun, 25 May 2008 18:00:55 +0000 (18:00 +0000)]
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

16 years agoExample conf now with <limits> tag
brain [Sun, 25 May 2008 17:50:44 +0000 (17:50 +0000)]
Example conf now with <limits> tag

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9807 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoGive modestacker a serverinstance
brain [Sun, 25 May 2008 17:39:22 +0000 (17:39 +0000)]
Give modestacker a serverinstance

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9806 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMore compile fixes
brain [Sun, 25 May 2008 17:38:17 +0000 (17:38 +0000)]
More compile fixes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9805 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoCompile fixes, was forced to move some stuff around
brain [Sun, 25 May 2008 17:35:02 +0000 (17:35 +0000)]
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

16 years agoRemove the limits from here too
brain [Sun, 25 May 2008 17:32:57 +0000 (17:32 +0000)]
Remove the limits from here too

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9803 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFirst phase of conversion to dynamic limits on all the lengths, configured via the...
brain [Sun, 25 May 2008 17:30:43 +0000 (17:30 +0000)]
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

16 years agoKick the client in the balls if they try STARTTLS after client registration
brain [Sat, 24 May 2008 12:12:46 +0000 (12:12 +0000)]
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

16 years agoFix memory leak if we send STARTTLS twice, thanks special and psychon
brain [Sat, 24 May 2008 12:05:08 +0000 (12:05 +0000)]
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

16 years agoAdd interesting test case
brain [Fri, 23 May 2008 23:42:53 +0000 (23:42 +0000)]
Add interesting test case

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9799 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoThere is no need for char* here any more
brain [Fri, 23 May 2008 19:07:54 +0000 (19:07 +0000)]
There is no need for char* here any more

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9798 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix this to not have the same issue
brain [Fri, 23 May 2008 18:55:51 +0000 (18:55 +0000)]
Fix this to not have the same issue

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9797 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoNEVER use the two-param assign unless you want your string padding to len bytes with \0!
brain [Fri, 23 May 2008 18:52:40 +0000 (18:52 +0000)]
NEVER use the two-param assign unless you want your string padding to len bytes with \0!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9796 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoDon't copy vars (faster) and also avoid a crash (non-const -> const)
w00t [Fri, 23 May 2008 18:11:16 +0000 (18:11 +0000)]
Don't copy vars (faster) and also avoid a crash (non-const -> const)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9795 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix this being broken over remote links
w00t [Fri, 23 May 2008 17:36:22 +0000 (17:36 +0000)]
Fix this being broken over remote links

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9794 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix uuid generation to not generate ten character uuids, thanks nenolod
brain [Fri, 23 May 2008 17:15:48 +0000 (17:15 +0000)]
Fix uuid generation to not generate ten character uuids, thanks nenolod

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9793 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix user->host not being assigned correctly for new connections
aquanight [Fri, 23 May 2008 16:39:52 +0000 (16:39 +0000)]
Fix user->host not being assigned correctly for new connections

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9792 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoWhy are we using .compare() when we can use == ?
brain [Fri, 23 May 2008 05:15:49 +0000 (05:15 +0000)]
Why are we using .compare() when we can use == ?

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9791 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoCollision tweaks
brain [Fri, 23 May 2008 05:13:57 +0000 (05:13 +0000)]
Collision tweaks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9790 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoImplement Bug #533, Oper type-specific autojoins for m_operjoin via <type:autojoin>
aquanight [Wed, 21 May 2008 23:15:40 +0000 (23:15 +0000)]
Implement Bug #533, Oper type-specific autojoins for m_operjoin via <type:autojoin>

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9789 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRename "lan or wan ip" -> public ip
brain [Wed, 21 May 2008 22:30:28 +0000 (22:30 +0000)]
Rename "lan or wan ip" -> public ip

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9788 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoClean this up a bit, and log about ignoring link blocks due to missing attributes
w00t [Wed, 21 May 2008 22:07:48 +0000 (22:07 +0000)]
Clean this up a bit, and log about ignoring link blocks due to missing attributes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9787 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoupdate to tell them to try a LAN or a WAN IP, depending on how the box is setup,...
bricker [Wed, 21 May 2008 21:41:50 +0000 (21:41 +0000)]
update to tell them to try a LAN or a WAN IP, depending on how the box is setup, it matters.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9786 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix test suite to not have bugs itself (oops) and fix bugs in new cidr matching metho...
brain [Wed, 21 May 2008 16:30:34 +0000 (16:30 +0000)]
Fix test suite to not have bugs itself (oops) and fix bugs in new cidr matching methods. This could do with some optimization, if you DO optimize this, test it after against the test cases: bin/inspircd --testsuite, option 5 from the menu

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9785 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove some of this, this isn't (strictly speaking) an issue now
w00t [Wed, 21 May 2008 09:58:31 +0000 (09:58 +0000)]
Remove some of this, this isn't (strictly speaking) an issue now

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9784 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoForward port r9782: show IP (not unknown) for unauthed connections
w00t [Tue, 20 May 2008 22:30:10 +0000 (22:30 +0000)]
Forward port r9782: show IP (not unknown) for unauthed connections

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9783 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoA few minor fixes, some copy constructor stuff, misnamed channelmanager constructor...
brain [Tue, 20 May 2008 18:29:15 +0000 (18:29 +0000)]
A few minor fixes, some copy constructor stuff, misnamed channelmanager constructor, add files to vc8 project, configreader tidyups

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9780 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd note to check other server on this message
w00t [Tue, 20 May 2008 16:53:29 +0000 (16:53 +0000)]
Add note to check other server on this message

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9779 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoUpdate comment
w00t [Tue, 20 May 2008 15:35:21 +0000 (15:35 +0000)]
Update comment

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9778 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agochar -> std::string conversion
w00t [Tue, 20 May 2008 15:34:10 +0000 (15:34 +0000)]
char -> std::string conversion

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9777 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoDebug on out of range FD.
w00t [Mon, 19 May 2008 23:47:42 +0000 (23:47 +0000)]
Debug on out of range FD.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9776 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoListening bufferedsockets dont have an OnRawSocketClose event as theyre never 'opened'
brain [Mon, 19 May 2008 22:07:06 +0000 (22:07 +0000)]
Listening bufferedsockets dont have an OnRawSocketClose event as theyre never 'opened'

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9773 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix to give the proper target ip on connect, cookies to w00t and Jason
brain [Mon, 19 May 2008 21:50:30 +0000 (21:50 +0000)]
Fix to give the proper target ip on connect, cookies to w00t and Jason

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9772 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMore correctly state the lookup arrays as unsigned char, not char
brain [Mon, 19 May 2008 21:29:14 +0000 (21:29 +0000)]
More correctly state the lookup arrays as unsigned char, not char

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9771 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoConvert channel::name to std::string, this was a beastie!
brain [Mon, 19 May 2008 21:16:42 +0000 (21:16 +0000)]
Convert channel::name to std::string, this was a beastie!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9770 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoConvert channel banlist members to std::string
brain [Mon, 19 May 2008 19:53:03 +0000 (19:53 +0000)]
Convert channel banlist members to std::string

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9769 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoConvert connection::host
brain [Mon, 19 May 2008 19:12:43 +0000 (19:12 +0000)]
Convert connection::host

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9768 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix logic being backwards (so every user was always away and an oper, except when...
w00t [Mon, 19 May 2008 18:29:30 +0000 (18:29 +0000)]
Fix logic being backwards (so every user was always away and an oper, except when they weren't an oper, and weren't away ...)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9767 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix crash i introduced into m_ident with a sloppy ->insert()
brain [Mon, 19 May 2008 18:23:30 +0000 (18:23 +0000)]
Fix crash i introduced into m_ident with a sloppy ->insert()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9766 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix users being unable to register (aquanight, what the fuck were you smoking? :p)
w00t [Mon, 19 May 2008 18:05:57 +0000 (18:05 +0000)]
Fix users being unable to register (aquanight, what the fuck were you smoking? :p)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9765 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoClean this up so it's comprehensible.
w00t [Mon, 19 May 2008 16:22:51 +0000 (16:22 +0000)]
Clean this up so it's comprehensible.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9764 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove outdated comment
w00t [Mon, 19 May 2008 10:43:04 +0000 (10:43 +0000)]
Remove outdated comment

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9763 e03df62e-2008-0410-955e-edbf42e46eb7