]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agotypo fix
peavey [Sun, 12 Nov 2006 19:03:04 +0000 (19:03 +0000)]
typo fix

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

17 years agoAdvance to beta 6 svn
brain [Sun, 12 Nov 2006 19:02:09 +0000 (19:02 +0000)]
Advance to beta 6 svn

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

17 years ago1.1 Beta 5 + Lugnut
brain [Sun, 12 Nov 2006 18:44:20 +0000 (18:44 +0000)]
1.1 Beta 5 + Lugnut

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

17 years agoThanks for the pointer jilles ;)
brain [Sun, 12 Nov 2006 17:51:29 +0000 (17:51 +0000)]
Thanks for the pointer jilles ;)

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

17 years agoSlight hax. When bursting a channel - in the fmode, if we dont have +n or +t set...
brain [Sun, 12 Nov 2006 17:47:59 +0000 (17:47 +0000)]
Slight hax. When bursting a channel - in the fmode, if we dont have +n or +t set this side, explicitly put -n or -t into the mode string.
This is because the other side will ass-u-me +nt set because this is the default.

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

17 years agoIf a new channel is created, after sending the FJOIN for the first user in, send...
brain [Sun, 12 Nov 2006 17:44:53 +0000 (17:44 +0000)]
If a new channel is created, after sending the FJOIN for the first user in, send an FMODE #chan <ts> +nt, to sync the +nt on all remote servers explicitly.

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

17 years agoShow chanrec::age in MODE #chan, not the deprecated chanrec::created
brain [Sun, 12 Nov 2006 17:33:21 +0000 (17:33 +0000)]
Show chanrec::age in MODE #chan, not the deprecated chanrec::created

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

17 years agoAdded a notice that all people bumping the protocol version should edit a page in...
brain [Sun, 12 Nov 2006 17:20:22 +0000 (17:20 +0000)]
Added a notice that all people bumping the protocol version should edit a page in the wiki:
 * IMPORTANT: If you make changes, document your changes here, without fail:
 * http://www.inspircd.org/wiki/List_of_protocol_changes_between_versions
 *
 * Failure to document your protocol changes will result in a painfully
 * painful death by pain. You have been warned.

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

17 years agoProtocl-Version bump to 1102
brain [Sun, 12 Nov 2006 16:37:51 +0000 (16:37 +0000)]
Protocl-Version bump to 1102

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

17 years agoOops, using wrong param
brain [Sun, 12 Nov 2006 16:35:07 +0000 (16:35 +0000)]
Oops, using wrong param

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

17 years agoMore funky stuff, SNONOTICE, MODENOTICE to go with OPERNOTICE
brain [Sun, 12 Nov 2006 16:14:44 +0000 (16:14 +0000)]
More funky stuff, SNONOTICE, MODENOTICE to go with OPERNOTICE
(OPERNOTICE can be considered to be "MODENOTICE os", but it saves bandwidth and cpu to send OPERNOTICE where possible)

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

17 years agoWhoops, stuff in the wrong place
brain [Sun, 12 Nov 2006 16:08:00 +0000 (16:08 +0000)]
Whoops, stuff in the wrong place

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

17 years agoAnd change < 64 to <= 64, the length limit is 64 - not 63
om [Sun, 12 Nov 2006 16:03:39 +0000 (16:03 +0000)]
And change < 64 to <= 64, the length limit is 64 - not 63

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

17 years agoMake OPERNOTICE work right
brain [Sun, 12 Nov 2006 16:03:21 +0000 (16:03 +0000)]
Make OPERNOTICE work right

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

17 years agoFix off-by-one error in userrec::ChangeDisplayedHost, some hosts were truncated
om [Sun, 12 Nov 2006 16:02:10 +0000 (16:02 +0000)]
Fix off-by-one error in userrec::ChangeDisplayedHost, some hosts were truncated

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

17 years agoAdd send_opers event and OPERNOTICE command to send remote server NOTICE
brain [Sun, 12 Nov 2006 15:59:25 +0000 (15:59 +0000)]
Add send_opers event and OPERNOTICE command to send remote server NOTICE

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

17 years agoYes, we do want to propogate the server mode
brain [Sun, 12 Nov 2006 15:48:41 +0000 (15:48 +0000)]
Yes, we do want to propogate the server mode

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

17 years agoNotice back to oper on invalid SAMODE
brain [Sun, 12 Nov 2006 15:47:14 +0000 (15:47 +0000)]
Notice back to oper on invalid SAMODE

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

17 years agoNeeds testing: SAMODE doesnt send the actual SAMODE text any more, instead it sends...
brain [Sun, 12 Nov 2006 15:44:54 +0000 (15:44 +0000)]
Needs testing: SAMODE doesnt send the actual SAMODE text any more, instead it sends a server-origin MODE

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

17 years agoAllow normal MODE from a server prefix
brain [Sun, 12 Nov 2006 15:41:43 +0000 (15:41 +0000)]
Allow normal MODE from a server prefix

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

17 years agoDont propogate failed mode changes
brain [Sun, 12 Nov 2006 15:27:46 +0000 (15:27 +0000)]
Dont propogate failed mode changes

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

17 years agoAdd m_restrictbanned to example conf.
w00t [Sun, 12 Nov 2006 14:17:58 +0000 (14:17 +0000)]
Add m_restrictbanned to example conf.

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

17 years agoAdd m_restrictbanned.so, disalows banned users on a channel from messaging the channe...
w00t [Sun, 12 Nov 2006 14:14:18 +0000 (14:14 +0000)]
Add m_restrictbanned.so, disalows banned users on a channel from messaging the channel, changing nick, or changing the topic, if loaded.

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

17 years agoWe now have only one string copy for remote topics. We still need two for local thoug...
brain [Sun, 12 Nov 2006 13:28:46 +0000 (13:28 +0000)]
We now have only one string copy for remote topics. We still need two for local though (ick) -- see comments

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

17 years agoEnable removal of debug info for tiny systems
brain [Sat, 11 Nov 2006 21:26:47 +0000 (21:26 +0000)]
Enable removal of debug info for tiny systems

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

17 years agofix a compile warning
peavey [Sat, 11 Nov 2006 20:38:37 +0000 (20:38 +0000)]
fix a compile warning

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

17 years agoEliminate two trivial compile warnings pointed out by a few people
brain [Sat, 11 Nov 2006 20:35:42 +0000 (20:35 +0000)]
Eliminate two trivial compile warnings pointed out by a few people

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

17 years agoA few lines here are loglevel DEFAULT and should be DEBUG.
brain [Sat, 11 Nov 2006 17:37:56 +0000 (17:37 +0000)]
A few lines here are loglevel DEFAULT and should be DEBUG.

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

17 years agoDont allow overlapped ports in these files
brain [Sat, 11 Nov 2006 15:47:32 +0000 (15:47 +0000)]
Dont allow overlapped ports in these files

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

17 years agoAllow checking of overlapped ports. A bit of sensible thought prevents this from...
brain [Sat, 11 Nov 2006 15:46:00 +0000 (15:46 +0000)]
Allow checking of overlapped ports. A bit of sensible thought prevents this from being O(n^2)

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

17 years agoDocument irc::portparser with comments :-)
brain [Sat, 11 Nov 2006 15:28:18 +0000 (15:28 +0000)]
Document irc::portparser with comments :-)

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

17 years agodont use local vars and lose state
brain [Sat, 11 Nov 2006 15:22:17 +0000 (15:22 +0000)]
dont use local vars and lose state

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

17 years agoHandle out of range port numbers without stopping parsing the whole set
brain [Sat, 11 Nov 2006 15:20:35 +0000 (15:20 +0000)]
Handle out of range port numbers without stopping parsing the whole set

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

17 years agoAdd irc::portparser, a class to parse port ranges in the form "6660,6661,6662-6669...
brain [Sat, 11 Nov 2006 15:17:40 +0000 (15:17 +0000)]
Add irc::portparser, a class to parse port ranges in the form "6660,6661,6662-6669,7000".
Needs testing, watch next few commits.

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

17 years agoMake these properly detect port ranges.
brain [Sat, 11 Nov 2006 14:58:13 +0000 (14:58 +0000)]
Make these properly detect port ranges.
TODO: Make a port range parser class

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

17 years agoDocument port range stuff
brain [Sat, 11 Nov 2006 14:46:52 +0000 (14:46 +0000)]
Document port range stuff

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

17 years agoSupport hybrid-style port ranges in spanningtree, too
brain [Sat, 11 Nov 2006 14:44:46 +0000 (14:44 +0000)]
Support hybrid-style port ranges in spanningtree, too

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

17 years agoAllow port ranges for client ports (this is still todo in spanningtree)
brain [Sat, 11 Nov 2006 14:33:57 +0000 (14:33 +0000)]
Allow port ranges for client ports (this is still todo in spanningtree)

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

17 years agofix small typo (also doubles as test commit)
peavey [Sat, 11 Nov 2006 13:18:23 +0000 (13:18 +0000)]
fix small typo (also doubles as test commit)

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

17 years agoOops, add special-case for user killing themselves (their userrec is gone when the...
brain [Sat, 11 Nov 2006 12:15:11 +0000 (12:15 +0000)]
Oops, add special-case for user killing themselves (their userrec is gone when the function returns)
Also put checks in LoopCall to check that the user didnt vanish half way through the comma seperated list, if they did, abort at that element of the list.
This means if your nick is 'a' and you do "/kill b,c,a,f,g die" only you, b and c will be removed from irc. (this is to be expected, really)

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

17 years agoYay, comma seperated /kill, same limits as PRIVMSG etc.
brain [Sat, 11 Nov 2006 12:05:34 +0000 (12:05 +0000)]
Yay, comma seperated /kill, same limits as PRIVMSG etc.

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

17 years agoImprove quit messages caused by filtering, now prefixed by "Filtered: "
brain [Sat, 11 Nov 2006 00:57:35 +0000 (00:57 +0000)]
Improve quit messages caused by filtering, now prefixed by "Filtered: "

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

17 years agoAlso dont try and filter remote users. This is ick.
brain [Fri, 10 Nov 2006 21:36:55 +0000 (21:36 +0000)]
Also dont try and filter remote users. This is ick.

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

17 years agoFiltering should leave ulines alone, and not filter uline notices.
brain [Fri, 10 Nov 2006 21:36:24 +0000 (21:36 +0000)]
Filtering should leave ulines alone, and not filter uline notices.

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

17 years agoAdd fix for patch #166 (this is a reasonably big one)
brain [Fri, 10 Nov 2006 20:13:59 +0000 (20:13 +0000)]
Add fix for patch #166 (this is a reasonably big one)

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

17 years agoImplement a change for bug #171. It might not be pretty in the /list output, but...
brain [Fri, 10 Nov 2006 19:46:53 +0000 (19:46 +0000)]
Implement a change for bug #171. It might not be pretty in the /list output, but the rfc DOES say we must do something like this.

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

17 years agoThese should now be VF_COMMON, they sync data
brain [Fri, 10 Nov 2006 19:31:49 +0000 (19:31 +0000)]
These should now be VF_COMMON, they sync data

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

17 years agoMake /stats s more detailed, fix a grammar error
brain [Fri, 10 Nov 2006 19:23:39 +0000 (19:23 +0000)]
Make /stats s more detailed, fix a grammar error

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

17 years agoWhoops, make /stats s work
brain [Fri, 10 Nov 2006 19:18:49 +0000 (19:18 +0000)]
Whoops, make /stats s work

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

17 years agoAdd /stats s
brain [Fri, 10 Nov 2006 18:58:54 +0000 (18:58 +0000)]
Add /stats s

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

17 years agoOops, fix crash
brain [Fri, 10 Nov 2006 18:47:28 +0000 (18:47 +0000)]
Oops, fix crash

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

17 years agoWhoops, properly handle rehash now that new filters might be added by /FILTER
brain [Fri, 10 Nov 2006 18:42:01 +0000 (18:42 +0000)]
Whoops, properly handle rehash now that new filters might be added by /FILTER

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

17 years agoFinally update this
brain [Fri, 10 Nov 2006 18:30:55 +0000 (18:30 +0000)]
Finally update this

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

17 years agoDocument changes to m_filter and m_filter_pcre a little.
brain [Fri, 10 Nov 2006 18:25:53 +0000 (18:25 +0000)]
Document changes to m_filter and m_filter_pcre a little.
Actually add the metadata stuff to Implements()

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

17 years agoImplement on-burst synching of filters
brain [Fri, 10 Nov 2006 18:23:24 +0000 (18:23 +0000)]
Implement on-burst synching of filters

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

17 years agoOops, forgot command source, these wouldnt be able to be unloaded properly
brain [Fri, 10 Nov 2006 17:59:50 +0000 (17:59 +0000)]
Oops, forgot command source, these wouldnt be able to be unloaded properly

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

17 years agoImplement the /filter command. Note that this is currently untested, and propogation...
brain [Fri, 10 Nov 2006 17:54:14 +0000 (17:54 +0000)]
Implement the /filter command. Note that this is currently untested, and propogation of filters between servers on burst isnt implemented yet (This is next on my todo)

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

17 years agoAdd gline type, and <filter:duration> value to say how long to ban for.
brain [Fri, 10 Nov 2006 17:04:06 +0000 (17:04 +0000)]
Add gline type, and <filter:duration> value to say how long to ban for.

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

17 years agoInherit m_filter.cpp and m_filter_pcre.cpp from a base set of classes, so that change...
brain [Fri, 10 Nov 2006 16:34:57 +0000 (16:34 +0000)]
Inherit m_filter.cpp and m_filter_pcre.cpp from a base set of classes, so that changes for /filter command and gline actions etc only need to be made in one place (the base classes header)

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

17 years agoMove peaveydk to core developers, jamie to contributors as he appears to be AWOL...
w00t [Thu, 9 Nov 2006 17:55:24 +0000 (17:55 +0000)]
Move peaveydk to core developers, jamie to contributors as he appears to be AWOL. Well done, peavey. :)

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

17 years agoPatch from peavey to fix GCC3.3 crash correctly, without breaking other stuff randoml...
w00t [Thu, 9 Nov 2006 10:23:55 +0000 (10:23 +0000)]
Patch from peavey to fix GCC3.3 crash correctly, without breaking other stuff randomly (<3.)

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

17 years agoThis should fix the empty iterator crash with gcc3.3 - thanks yet again to peaveydk...
special [Wed, 8 Nov 2006 04:02:05 +0000 (04:02 +0000)]
This should fix the empty iterator crash with gcc3.3 - thanks yet again to peaveydk for spending hours finding the issue and for the patch

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

17 years agoFixed broken syncing for glines and elines using idents - thanks to dotslasher for...
special [Mon, 6 Nov 2006 20:59:10 +0000 (20:59 +0000)]
Fixed broken syncing for glines and elines using idents - thanks to dotslasher for finding and peaveydk for finding the fix

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

17 years agoApply patch for bug #165 (compile warning for users.cpp) by peaveydk
special [Mon, 6 Nov 2006 19:25:58 +0000 (19:25 +0000)]
Apply patch for bug #165 (compile warning for users.cpp) by peaveydk

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

17 years agoFix IPv4 resolution, spank satmd if you were affected by this
w00t [Mon, 6 Nov 2006 01:50:12 +0000 (01:50 +0000)]
Fix IPv4 resolution, spank satmd if you were affected by this

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

17 years agoFixed bug #164 by peaveydk
special [Sun, 5 Nov 2006 21:41:48 +0000 (21:41 +0000)]
Fixed bug #164 by peaveydk

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

17 years agoModified the server-to-server TIME command to report the real time (without delta...
special [Sun, 5 Nov 2006 20:35:33 +0000 (20:35 +0000)]
Modified the server-to-server TIME command to report the real time (without delta), and display the delta in the output from m_alltime

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

17 years agoWhoops, make targets case insensitive when cutting down a comma seperated list
brain [Sun, 5 Nov 2006 14:06:10 +0000 (14:06 +0000)]
Whoops, make targets case insensitive when cutting down a comma seperated list

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

17 years agoOlder gcc gets confused when the only parameter has a default value? O_o
brain [Sun, 5 Nov 2006 12:11:54 +0000 (12:11 +0000)]
Older gcc gets confused when the only parameter has a default value? O_o
Changed an Instance->Time() to Instance->Time(false)

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

17 years agoChange message to indicate that the count only includes client ports
brain [Sun, 5 Nov 2006 12:02:27 +0000 (12:02 +0000)]
Change message to indicate that the count only includes client ports

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

17 years agoFix the 'not all ports could be bound' warning to not count server ports at this...
brain [Sun, 5 Nov 2006 12:01:16 +0000 (12:01 +0000)]
Fix the 'not all ports could be bound' warning to not count server ports at this point

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

17 years agoAdded <options:notimesync> to the example config
special [Sun, 5 Nov 2006 01:18:19 +0000 (01:18 +0000)]
Added <options:notimesync> to the example config

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

17 years agoMade the 'force' parameter to BURST and TIMESET uppercase to satisfy the pedantic...
special [Sun, 5 Nov 2006 01:05:01 +0000 (01:05 +0000)]
Made the 'force' parameter to BURST and TIMESET uppercase to satisfy the pedantic brain

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

17 years agoAdded the <options:notimesync> flag to disable time syncing
special [Sun, 5 Nov 2006 01:00:39 +0000 (01:00 +0000)]
Added the <options:notimesync> flag to disable time syncing

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

17 years agoAdded time syncing! This is fairly simple - servers exchange timestamps and use the...
special [Sun, 5 Nov 2006 00:47:08 +0000 (00:47 +0000)]
Added time syncing! This is fairly simple - servers exchange timestamps and use the lowest - but should get rid of the annoying bounces for those of us who can't depend on ntpd.

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

17 years agoone line tweak, if the prefix is empty, dont echo 'unknown prefix' to the debug log
brain [Sat, 4 Nov 2006 22:59:20 +0000 (22:59 +0000)]
one line tweak, if the prefix is empty, dont echo 'unknown prefix' to the debug log

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

17 years agoSmart voodoo to weed out duplicates in a comma seperated list for LoopCall. voooodooo!
brain [Sat, 4 Nov 2006 20:35:30 +0000 (20:35 +0000)]
Smart voodoo to weed out duplicates in a comma seperated list for LoopCall. voooodooo!
Thanks for the suggestion of using std::map, w00tie :)

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

17 years agoFix remote quit notices (some were in the wrong snomask)
brain [Sat, 4 Nov 2006 19:11:46 +0000 (19:11 +0000)]
Fix remote quit notices (some were in the wrong snomask)

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

17 years agoShow ident when expiring g and k lines
brain [Sat, 4 Nov 2006 17:03:36 +0000 (17:03 +0000)]
Show ident when expiring g and k lines

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

17 years agoFix comma-seperated list handling by CommandParser::LoopCall, should fix /amsg etc.
brain [Sat, 4 Nov 2006 16:54:43 +0000 (16:54 +0000)]
Fix comma-seperated list handling by CommandParser::LoopCall, should fix /amsg etc.

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

17 years agoAs requested by satmd, inspircd will now run with no client ports configured
brain [Sat, 4 Nov 2006 13:20:42 +0000 (13:20 +0000)]
As requested by satmd, inspircd will now run with no client ports configured

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

17 years agoMerge peaveys patch, tracker #162
brain [Sat, 4 Nov 2006 11:31:29 +0000 (11:31 +0000)]
Merge peaveys patch, tracker #162

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

17 years agoMerge peaveydk's example conf change.
brain [Fri, 3 Nov 2006 17:21:57 +0000 (17:21 +0000)]
Merge peaveydk's example conf change.
Guess what Om, we broke alphabetical order on purpose!
(actually, it makes sense, sqlauth must come before any sql modules, due to load order, or we're essentially  distributing a broken config file which will confuse users as to why its broken)

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

17 years agoFixed at last.
brain [Fri, 3 Nov 2006 17:18:30 +0000 (17:18 +0000)]
Fixed at last.

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

17 years agoIve been unable to commit this since 9am, somehow port 22 is unusable at work now...
brain [Fri, 3 Nov 2006 16:53:45 +0000 (16:53 +0000)]
Ive been unable to commit this since 9am, somehow port 22 is unusable at work now, even though we need to use it... damn cable and witless.

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

17 years agoTook out a header we needed to keep. Im done stick a fork in me
brain [Fri, 3 Nov 2006 08:35:29 +0000 (08:35 +0000)]
Took out a header we needed to keep. Im done stick a fork in me

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

17 years agoHmm, svn said there was a conflict here, but nobody had committed :/
brain [Fri, 3 Nov 2006 08:33:18 +0000 (08:33 +0000)]
Hmm, svn said there was a conflict here, but nobody had committed :/

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

17 years agoRevert special's sqloper change, nice try but only half a biscuit.
brain [Fri, 3 Nov 2006 08:30:37 +0000 (08:30 +0000)]
Revert special's sqloper change, nice try but only half a biscuit.
With the old fix, it would echo out all the oper failure notices first then try again, annoying all the opers.
The new version uses a CommandParser method i added, to again use OnPreCommand, halt the /oper command, but after doing the sql lookup call the original handler of the OPER command with the original user and pass, so the original handler handles the definitive failure message.

DAMNIT STOP COMMITTING

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

17 years agoSwitched m_sqloper to use OnPostCommand instead of OnPreCommand, meaning the config...
special [Fri, 3 Nov 2006 04:02:29 +0000 (04:02 +0000)]
Switched m_sqloper to use OnPostCommand instead of OnPreCommand, meaning the config tags are checked before MySQL

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

17 years agoFix compile error, and spank Brain
w00t [Fri, 3 Nov 2006 00:18:47 +0000 (00:18 +0000)]
Fix compile error, and spank Brain

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

17 years agoWhen we get an event on a userrec of EVENT_ERROR, and errornum is 0, send the error...
brain [Thu, 2 Nov 2006 21:56:35 +0000 (21:56 +0000)]
When we get an event on a userrec of EVENT_ERROR, and errornum is 0, send the error message "EOF from client" rather than using strerror and getting: Quit (Unknown error: 0)

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

17 years agoPlease in the future everyone: DO NOT submit patches via nopaste. Nopaste is not...
brain [Thu, 2 Nov 2006 20:34:01 +0000 (20:34 +0000)]
Please in the future everyone: DO NOT submit patches via nopaste. Nopaste is not designed for this, and mangles your patch so we cant apply it. gzip it instead!

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

17 years agoApply patch by satmd which performs ipv4 lookup on 4in6 users
brain [Thu, 2 Nov 2006 20:23:04 +0000 (20:23 +0000)]
Apply patch by satmd which performs ipv4 lookup on 4in6 users

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

17 years agoSomeone forgot to add m_alltime to the example conf :p
brain [Thu, 2 Nov 2006 19:25:55 +0000 (19:25 +0000)]
Someone forgot to add m_alltime to the example conf :p

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

17 years agoMore pipe. Everyone likes pipe
brain [Thu, 2 Nov 2006 18:17:29 +0000 (18:17 +0000)]
More pipe. Everyone likes pipe

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

17 years agoThis is tidier, we dont need a seperate bool and int
brain [Thu, 2 Nov 2006 18:11:22 +0000 (18:11 +0000)]
This is tidier, we dont need a seperate bool and int

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

17 years agoLoadModule will now also return false if the glob pattern matches no modules and...
brain [Thu, 2 Nov 2006 18:07:23 +0000 (18:07 +0000)]
LoadModule will now also return false if the glob pattern matches no modules and loads nothing

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

17 years agoAllow wildcards in LoadModule calls. If a filename contains either * or ? it will...
brain [Thu, 2 Nov 2006 18:06:03 +0000 (18:06 +0000)]
Allow wildcards in LoadModule calls. If a filename contains either * or ? it will attempt to readdir() the currently configured module dir and load all modules which match.
If any one module fails, LoadModule then returns false.

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

17 years agoAdded m_alltime
special [Thu, 2 Nov 2006 17:44:18 +0000 (17:44 +0000)]
Added m_alltime

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

17 years agoAdded the send_push event to m_spanningtree (send raw text to a remote user)
special [Wed, 1 Nov 2006 21:41:07 +0000 (21:41 +0000)]
Added the send_push event to m_spanningtree (send raw text to a remote user)

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