]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoRemote MOTD support
w00t [Mon, 28 Aug 2006 23:23:09 +0000 (23:23 +0000)]
Remote MOTD support

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

17 years agoRemove blank lines from previous perl inplace edits
brain [Mon, 28 Aug 2006 19:39:59 +0000 (19:39 +0000)]
Remove blank lines from previous perl inplace edits

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

17 years agoMake oper-override notices a bit more grammar friendly, add an override notice to...
w00t [Mon, 28 Aug 2006 19:15:24 +0000 (19:15 +0000)]
Make oper-override notices a bit more grammar friendly, add an override notice to banwalk

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

17 years agoUpdate comment
brain [Mon, 28 Aug 2006 18:17:37 +0000 (18:17 +0000)]
Update comment

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

17 years agoZed, you are found guilty of over-assuming the IRC protocol and forcing ircd develope...
brain [Mon, 28 Aug 2006 18:01:43 +0000 (18:01 +0000)]
Zed, you are found guilty of over-assuming the IRC protocol and forcing ircd developers to sort lists during prefix adding. How do you plead.
SOD THAT, YOURE GUILTY!!!!!

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

17 years agoYOU KNOW I REALLY HATE IT WHEN CLIENT AUTHORS JUST MAKE ASSUMPTIONS ON THINGS LIKE...
brain [Mon, 28 Aug 2006 17:55:16 +0000 (17:55 +0000)]
YOU KNOW I REALLY HATE IT WHEN CLIENT AUTHORS JUST MAKE ASSUMPTIONS ON THINGS LIKE "oh all prefixes in NAMESX will always be in rank order".
So tell me, zed, where the FUCK does it say that? huh?!

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

17 years agoHint of the day: When you have a function that can return a bool, dont mix up the...
brain [Mon, 28 Aug 2006 17:39:25 +0000 (17:39 +0000)]
Hint of the day: When you have a function that can return a bool, dont mix up the true and false returns.

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

17 years agoMove trailing space stripping to only strip from non-last-item values (dont ask)
brain [Mon, 28 Aug 2006 16:45:05 +0000 (16:45 +0000)]
Move trailing space stripping to only strip from non-last-item values (dont ask)

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

17 years agoCheck for muppet 3rdparty apps that might not order the list correctly
brain [Mon, 28 Aug 2006 16:02:39 +0000 (16:02 +0000)]
Check for muppet 3rdparty apps that might not order the list correctly

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

17 years agoError scemantics - 'this' server, 'your' server
brain [Mon, 28 Aug 2006 15:59:19 +0000 (15:59 +0000)]
Error scemantics - 'this' server, 'your' server

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

17 years agoModule list diffing
brain [Mon, 28 Aug 2006 15:55:21 +0000 (15:55 +0000)]
Module list diffing

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

17 years agoCapab matching on important keys, and module lists
brain [Mon, 28 Aug 2006 15:28:27 +0000 (15:28 +0000)]
Capab matching on important keys, and module lists

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

17 years agoFix ping timeouts to properly close and free the socket, same with /SQUIT
brain [Mon, 28 Aug 2006 13:49:49 +0000 (13:49 +0000)]
Fix ping timeouts to properly close and free the socket, same with /SQUIT

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

17 years agogcc whinges.
brain [Mon, 28 Aug 2006 13:38:44 +0000 (13:38 +0000)]
gcc whinges.

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

17 years agoAdd DelFd calls when squitting a server or pinging it out
brain [Mon, 28 Aug 2006 13:37:57 +0000 (13:37 +0000)]
Add DelFd calls when squitting a server or pinging it out

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

17 years agoConnect timeouts now work again, using InspSocket
brain [Mon, 28 Aug 2006 13:32:20 +0000 (13:32 +0000)]
Connect timeouts now work again, using InspSocket

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

17 years agoNote: connect() cant time out for inspsockets in this commit. They'll sit in memory...
brain [Mon, 28 Aug 2006 13:01:19 +0000 (13:01 +0000)]
Note: connect() cant time out for inspsockets in this commit. They'll sit in memory forever -- if you want something actually working properly wait for the next commit

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

17 years agoAdd support for NAMESX
brain [Mon, 28 Aug 2006 01:02:41 +0000 (01:02 +0000)]
Add support for NAMESX
Tidy up m_alias blank lines
Add m_namesx.so to example conf (no extra config tags required for it, it "just works")

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

17 years agoBail out if we get a non-existent user
brain [Sun, 27 Aug 2006 13:07:45 +0000 (13:07 +0000)]
Bail out if we get a non-existent user

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

17 years agoFixes for w00t, now its boo time :)
brain [Sun, 27 Aug 2006 02:39:35 +0000 (02:39 +0000)]
Fixes for w00t, now its boo time :)

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

17 years agoFix mode granting in FJOIN
brain [Sun, 27 Aug 2006 02:34:25 +0000 (02:34 +0000)]
Fix mode granting in FJOIN

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

17 years agoI only fix stuff at 3:30am if im asked nicely and now im too tired to think any more :p
brain [Sun, 27 Aug 2006 02:30:36 +0000 (02:30 +0000)]
I only fix stuff at 3:30am if im asked nicely and now im too tired to think any more :p

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

17 years agoExtra sanity checks
brain [Sun, 27 Aug 2006 00:53:50 +0000 (00:53 +0000)]
Extra sanity checks

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

17 years agoSometimes we were just doing Route->GetSock(), without first checking Route was non...
brain [Sun, 27 Aug 2006 00:43:33 +0000 (00:43 +0000)]
Sometimes we were just doing Route->GetSock(), without first checking Route was non-null.
Instead, do "if (Route && Route->GetSock())" in a few places. This should make stuff water-tight

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

17 years agoOverloaded char* equivalents of some core functions, will help us track down how...
brain [Sun, 27 Aug 2006 00:39:47 +0000 (00:39 +0000)]
Overloaded char* equivalents of some core functions, will help us track down how the CRAP a stack-allocated std::string can be null?

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

17 years agoTidyup, multiple inheritence from base class to avoid code duplication in the two...
brain [Fri, 25 Aug 2006 22:59:21 +0000 (22:59 +0000)]
Tidyup, multiple inheritence from base class to avoid code duplication in the two modehandler classes

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

17 years agoRemove On005Numeric event from a ton of modules which no longer need it (as CHANMODES...
brain [Fri, 25 Aug 2006 22:23:06 +0000 (22:23 +0000)]
Remove On005Numeric event from a ton of modules which no longer need it (as CHANMODES= part of 005 is now automatically done)

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

17 years agoFix changing of idents and hosts (it wasnt working -- in fact WriteCommon was sort...
brain [Fri, 25 Aug 2006 20:18:43 +0000 (20:18 +0000)]
Fix changing of idents and hosts (it wasnt working -- in fact WriteCommon was sort of BROKEN AS HELL)

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

17 years agoAdd userrec::ChangeIdent (which we were missing) which can emulate the quit/rejoin...
brain [Fri, 25 Aug 2006 19:02:18 +0000 (19:02 +0000)]
Add userrec::ChangeIdent (which we were missing) which can emulate the quit/rejoin same as ChangeDisplayedHost

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

17 years agoAdd <options:cyclehosts> which allows a user to appear to have quit when their host...
brain [Fri, 25 Aug 2006 13:42:19 +0000 (13:42 +0000)]
Add <options:cyclehosts> which allows a user to appear to have quit when their host changes, so that clients/bots can stay synched properly.
It is recommended this option always be on.

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

17 years agoAdded leachim's +qa prefix patch
brain [Fri, 25 Aug 2006 12:04:32 +0000 (12:04 +0000)]
Added leachim's +qa prefix patch

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

17 years agoRemove OnPostConnect here, it was being used under the assumption that it still did...
brain [Thu, 24 Aug 2006 18:12:51 +0000 (18:12 +0000)]
Remove OnPostConnect here, it was being used under the assumption that it still did global connects

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

17 years agoSpeaking of forgetting things, someone forgot to change the name of the function
special [Thu, 24 Aug 2006 18:11:35 +0000 (18:11 +0000)]
Speaking of forgetting things, someone forgot to change the name of the function

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

17 years agoSomeone forgot another :p
brain [Thu, 24 Aug 2006 18:10:26 +0000 (18:10 +0000)]
Someone forgot another :p

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

17 years agoMoved an ipv6-only variable in userrec::GetIPString into the SUPPORT_IP6LINKS define...
special [Thu, 24 Aug 2006 18:08:05 +0000 (18:08 +0000)]
Moved an ipv6-only variable in userrec::GetIPString into the SUPPORT_IP6LINKS define to get rid of a warning

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

17 years agoSomebody forgot one :p
brain [Thu, 24 Aug 2006 18:05:13 +0000 (18:05 +0000)]
Somebody forgot one :p

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

17 years agoRenamed the OnGlobalConnect callback to OnPostConnect, which is much more appropriate
special [Thu, 24 Aug 2006 18:02:46 +0000 (18:02 +0000)]
Renamed the OnGlobalConnect callback to OnPostConnect, which is much more appropriate

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

17 years agoWhen the mode sequence doesnt start with + or -, assume a +
brain [Thu, 24 Aug 2006 16:06:51 +0000 (16:06 +0000)]
When the mode sequence doesnt start with + or -, assume a +

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

17 years agoCheck for missing comma in FJOIN element
brain [Thu, 24 Aug 2006 00:39:53 +0000 (00:39 +0000)]
Check for missing comma in FJOIN element

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

17 years agoModeParser::InsertMode is no longer required -- this is auto-generated by the ModePar...
brain [Wed, 23 Aug 2006 22:34:58 +0000 (22:34 +0000)]
ModeParser::InsertMode is no longer required -- this is auto-generated by the ModeParser based on what modes are registered and wether or not they have certain attributes

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

17 years agoDocument ModeParser::FindPrefix() and chanrec::GetAllPrefixes()
brain [Wed, 23 Aug 2006 22:03:05 +0000 (22:03 +0000)]
Document ModeParser::FindPrefix() and chanrec::GetAllPrefixes()

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

17 years agoForgot the comma in first join
brain [Wed, 23 Aug 2006 21:44:03 +0000 (21:44 +0000)]
Forgot the comma in first join

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

17 years agoIf we get an unknown prefix character on a user when they join, we throw a fit and...
brain [Wed, 23 Aug 2006 21:43:32 +0000 (21:43 +0000)]
If we get an unknown prefix character on a user when they join, we throw a fit and close the connection

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

17 years agoCheck for illegal mode prefixes in AddMode (':' and ',')
brain [Wed, 23 Aug 2006 21:36:54 +0000 (21:36 +0000)]
Check for illegal mode prefixes in AddMode (':' and ',')
We should *probably* check to make sure their rank value doesnt conflict with another modules, too

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

17 years agoMulti-prefix FJOIN, and allowing module-defined prefixes across the network
brain [Wed, 23 Aug 2006 21:34:04 +0000 (21:34 +0000)]
Multi-prefix FJOIN, and allowing module-defined prefixes across the network

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

17 years agoFix and finish 005 numeric. PREFIX= is now calculated automatically if you add any...
brain [Wed, 23 Aug 2006 21:16:02 +0000 (21:16 +0000)]
Fix and finish 005 numeric. PREFIX= is now calculated automatically if you add any prefixes.
You do not need to mess with the numeric yourself.

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

17 years agoMore prefixchar stuff.
brain [Wed, 23 Aug 2006 21:09:49 +0000 (21:09 +0000)]
More prefixchar stuff.
WARNING: 005 numeric is broken in this commit.

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

17 years agoDocument mode prefixes
brain [Wed, 23 Aug 2006 20:50:20 +0000 (20:50 +0000)]
Document mode prefixes

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

17 years agoSpotted problem: must clear out all prefixes attached to a user when they quit or...
brain [Wed, 23 Aug 2006 20:29:09 +0000 (20:29 +0000)]
Spotted problem: must clear out all prefixes attached to a user when they quit or leave a channel
Next thing to do, consider removing of opped_userlist, halfopped_userlist and voiced_userlist as this data is now in the prefixlist

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

17 years agoMode handlers handling listmodes where a listmode item is a nickname can now specify...
brain [Wed, 23 Aug 2006 20:20:41 +0000 (20:20 +0000)]
Mode handlers handling listmodes where a listmode item is a nickname can now specify prefixes!!!!!!
This isnt documented yet.

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

17 years agoInherit ModuleMessage from Extensible, so users can Extend and Shrink it.
brain [Wed, 23 Aug 2006 09:33:30 +0000 (09:33 +0000)]
Inherit ModuleMessage from Extensible, so users can Extend and Shrink it.

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

17 years agoPoor old Ian Gulliver :p Finally got his credit here
brain [Mon, 21 Aug 2006 14:10:06 +0000 (14:10 +0000)]
Poor old Ian Gulliver :p Finally got his credit here

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

17 years agoIn 1.1, place all FJOIN parameters in the last parameter of the FJOIN - if there...
brain [Mon, 21 Aug 2006 12:17:55 +0000 (12:17 +0000)]
In 1.1, place all FJOIN parameters in the last parameter of the FJOIN - if there is more than one user joining, prefix with a colon.
This way we're not limited to ~12 users per FJOIN command.

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

17 years agoMake it virtual, in case someone ever wants to make a derived version of it
brain [Sat, 19 Aug 2006 00:51:13 +0000 (00:51 +0000)]
Make it virtual, in case someone ever wants to make a derived version of it

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

17 years agoExtra comments about how the FileLogger class schedules its own write events if all...
brain [Sat, 19 Aug 2006 00:50:11 +0000 (00:50 +0000)]
Extra comments about how the FileLogger class schedules its own write events if all the data is not written

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

17 years agoMissing vector.h
brain [Sat, 19 Aug 2006 00:31:18 +0000 (00:31 +0000)]
Missing vector.h

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

17 years agoI hate this header
brain [Sat, 19 Aug 2006 00:23:15 +0000 (00:23 +0000)]
I hate this header

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

17 years agoAdd multimap
brain [Sat, 19 Aug 2006 00:22:51 +0000 (00:22 +0000)]
Add multimap

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

17 years agoMore tweaks
brain [Sat, 19 Aug 2006 00:20:54 +0000 (00:20 +0000)]
More tweaks

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

17 years agoFixed makefile
brain [Sat, 19 Aug 2006 00:18:12 +0000 (00:18 +0000)]
Fixed makefile

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

17 years agoChanged modes/ makefile (not yet tested)
brain [Sat, 19 Aug 2006 00:14:18 +0000 (00:14 +0000)]
Changed modes/ makefile (not yet tested)

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

17 years agoRemove users.h include from here
brain [Sat, 19 Aug 2006 00:02:49 +0000 (00:02 +0000)]
Remove users.h include from here

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

17 years agoFix timeouts
brain [Fri, 18 Aug 2006 23:55:04 +0000 (23:55 +0000)]
Fix timeouts

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

17 years agoFix ident timeouts to work properly when the connect succeeds but nothing comes in...
brain [Fri, 18 Aug 2006 23:49:10 +0000 (23:49 +0000)]
Fix ident timeouts to work properly when the connect succeeds but nothing comes in as a reply to the ident request

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

17 years agoMake DELETE inline so its about as fast as the define it replaced
brain [Fri, 18 Aug 2006 23:27:24 +0000 (23:27 +0000)]
Make DELETE inline so its about as fast as the define it replaced

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

17 years agoChange #define DELETE to a template
brain [Fri, 18 Aug 2006 23:13:14 +0000 (23:13 +0000)]
Change #define DELETE to a template

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

17 years agoChange comment
brain [Fri, 18 Aug 2006 22:55:08 +0000 (22:55 +0000)]
Change comment

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

17 years agoMissing a space in log messages
brain [Fri, 18 Aug 2006 22:04:09 +0000 (22:04 +0000)]
Missing a space in log messages

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

17 years agoNONBLOCKING LOGGER!
brain [Fri, 18 Aug 2006 22:01:26 +0000 (22:01 +0000)]
NONBLOCKING LOGGER!

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

17 years agoIndent tidyup
brain [Fri, 18 Aug 2006 19:53:23 +0000 (19:53 +0000)]
Indent tidyup

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

17 years agoDocument ListenSocket class
brain [Fri, 18 Aug 2006 19:18:43 +0000 (19:18 +0000)]
Document ListenSocket class

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

17 years agoFix trying to add failed ports to socketengine (<3 new code)
brain [Fri, 18 Aug 2006 19:15:45 +0000 (19:15 +0000)]
Fix trying to add failed ports to socketengine (<3 new code)

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

17 years agoDont allow an empty away message (im not sure what the RFC says on this one sts)
brain [Fri, 18 Aug 2006 18:10:37 +0000 (18:10 +0000)]
Dont allow an empty away message (im not sure what the RFC says on this one sts)

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

17 years agoTypos in the socketengines
brain [Fri, 18 Aug 2006 18:08:56 +0000 (18:08 +0000)]
Typos in the socketengines

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

17 years agoThings are so much easier here (thanks to sts for the bug)
brain [Fri, 18 Aug 2006 17:19:01 +0000 (17:19 +0000)]
Things are so much easier here (thanks to sts for the bug)

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

17 years agoOdd bits and bobs to keep the numeric sane if the user is insane (like stskeeps for...
brain [Fri, 18 Aug 2006 17:09:21 +0000 (17:09 +0000)]
Odd bits and bobs to keep the numeric sane if the user is insane (like stskeeps for example)

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

17 years agostskeeps trying to get his name all over our commit log :p (thanks for the bugreport)
brain [Fri, 18 Aug 2006 16:59:46 +0000 (16:59 +0000)]
stskeeps trying to get his name all over our commit log :p (thanks for the bugreport)

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

17 years agoDont allow an empty key (thanks stskeeps)
brain [Fri, 18 Aug 2006 16:51:20 +0000 (16:51 +0000)]
Dont allow an empty key (thanks stskeeps)

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

17 years agoCorrectly return false on failure to fork
brain [Fri, 18 Aug 2006 16:45:04 +0000 (16:45 +0000)]
Correctly return false on failure to fork

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

17 years agoChecking if child pid still exists, if it vanishes we exit
brain [Fri, 18 Aug 2006 16:42:06 +0000 (16:42 +0000)]
Checking if child pid still exists, if it vanishes we exit

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

17 years agoWhen daemonizing, have parent process wait forever, and child process kill it when...
brain [Fri, 18 Aug 2006 16:32:31 +0000 (16:32 +0000)]
When daemonizing, have parent process wait forever, and child process kill it when we're done initializing

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

17 years agoComments
brain [Fri, 18 Aug 2006 16:10:50 +0000 (16:10 +0000)]
Comments

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

17 years agoMove lowermap[] into a pre-initialised const array in hashcomp.h,
brain [Fri, 18 Aug 2006 15:59:23 +0000 (15:59 +0000)]
Move lowermap[] into a pre-initialised const array in hashcomp.h,
get rid of InspIRCd::MakeLowertab()

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

17 years agoDont allow USERIP (where loaded) on unregistered users
brain [Fri, 18 Aug 2006 10:27:22 +0000 (10:27 +0000)]
Dont allow USERIP (where loaded) on unregistered users

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

17 years agoDont allow USERHOST (and new WHO) on unregistered users
brain [Fri, 18 Aug 2006 10:24:39 +0000 (10:24 +0000)]
Dont allow USERHOST (and new WHO) on unregistered users

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

17 years agoDon't allow adding of invalid nicknames to watchlist
brain [Fri, 18 Aug 2006 10:19:12 +0000 (10:19 +0000)]
Don't allow adding of invalid nicknames to watchlist

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

17 years agoGet rid of SocketEngine::Wait and array-copy, change to SocketEngine::DispatchEvents
brain [Fri, 18 Aug 2006 10:07:22 +0000 (10:07 +0000)]
Get rid of SocketEngine::Wait and array-copy, change to SocketEngine::DispatchEvents

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

17 years agoModified m_silence to take masks instead of nicknames. Since this is *much* more...
special [Fri, 18 Aug 2006 02:40:04 +0000 (02:40 +0000)]
Modified m_silence to take masks instead of nicknames. Since this is *much* more CPU intensive, we should probably put in a maximum number of entries soon

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

17 years agoEventHandler class, an abstraction for raw i/o
brain [Fri, 18 Aug 2006 01:08:14 +0000 (01:08 +0000)]
EventHandler class, an abstraction for raw i/o

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

17 years agoForward port of /list pattern matching, reported by Stskeeps
special [Fri, 18 Aug 2006 00:56:26 +0000 (00:56 +0000)]
Forward port of /list pattern matching, reported by Stskeeps

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

17 years agoOptimize tons more timer checking stuff
brain [Thu, 17 Aug 2006 21:21:33 +0000 (21:21 +0000)]
Optimize tons more timer checking stuff

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

17 years agoDoSocketTimeouts and TickTimers only need to be called once a second. Why they were...
brain [Thu, 17 Aug 2006 21:08:09 +0000 (21:08 +0000)]
DoSocketTimeouts and TickTimers only need to be called once a second. Why they were being called once every time around the mainloop, up to 30 times a second, is beyond me.

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

17 years agoAdd modules.h to cmd_connect.h
brain [Thu, 17 Aug 2006 14:47:54 +0000 (14:47 +0000)]
Add modules.h to cmd_connect.h

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

17 years agoJust comments
brain [Thu, 17 Aug 2006 14:23:22 +0000 (14:23 +0000)]
Just comments

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

17 years agoFix typo
brain [Thu, 17 Aug 2006 14:18:18 +0000 (14:18 +0000)]
Fix typo

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

17 years agouserrec::AddBuffer and userrec::Write end up copying the const std::string& into...
brain [Thu, 17 Aug 2006 14:16:15 +0000 (14:16 +0000)]
userrec::AddBuffer and userrec::Write end up copying the const std::string& into a non-const to make use of it, why not just pass std::string and let the compiler do the copy when passing it?

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

17 years agoImprove userrec::AddBuffer (remove craq char to std::string loop)
brain [Thu, 17 Aug 2006 14:12:10 +0000 (14:12 +0000)]
Improve userrec::AddBuffer (remove craq char to std::string loop)

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

17 years agoChange a std::string operator+= to append()
brain [Thu, 17 Aug 2006 14:06:18 +0000 (14:06 +0000)]
Change a std::string operator+= to append()

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

17 years agoOptimization and removal of casts (profiling stuff)
brain [Thu, 17 Aug 2006 13:58:04 +0000 (13:58 +0000)]
Optimization and removal of casts (profiling stuff)

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

17 years agoCheck in eline, gline and kline for the @ which signifies an ident. Without the ident...
brain [Wed, 16 Aug 2006 17:03:11 +0000 (17:03 +0000)]
Check in eline, gline and kline for the @ which signifies an ident. Without the ident, these are malformed

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