]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
16 years agofix a few things, and change customise to customize ;) gotta love those american...
bricker [Wed, 3 Oct 2007 05:16:01 +0000 (05:16 +0000)]
fix a few things, and change customise to customize ;) gotta love those american z's right Brain?

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

16 years agoadded a new quote! (candles)
bricker [Wed, 3 Oct 2007 05:01:04 +0000 (05:01 +0000)]
added a new quote! (candles)

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

16 years agoSomeone please bp this
brain [Tue, 2 Oct 2007 13:13:50 +0000 (13:13 +0000)]
Someone please bp this

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

16 years agoUsers were also being attached to the wrong server names (by uid and not by server...
brain [Sun, 30 Sep 2007 18:16:53 +0000 (18:16 +0000)]
Users were also being attached to the wrong server names (by uid and not by server name) meaning that users werent being quit on squit. this was hampering my efforts to find an unrelated bug

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

16 years agoWhoops, forgot some stuff for when GECOS was moved to position 10 in the UID command...
brain [Sun, 30 Sep 2007 18:14:51 +0000 (18:14 +0000)]
Whoops, forgot some stuff for when GECOS was moved to position 10 in the UID command, this was broken

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

16 years agoMinor change, param for local PING wasnt an SID and should be
brain [Sun, 30 Sep 2007 17:46:52 +0000 (17:46 +0000)]
Minor change, param for local PING wasnt an SID and should be

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

16 years agoparameters[0] -> parameter.c_str()
brain [Sun, 30 Sep 2007 17:31:39 +0000 (17:31 +0000)]
parameters[0] -> parameter.c_str()

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

16 years agomove headers into other filters
brain [Sat, 29 Sep 2007 20:52:19 +0000 (20:52 +0000)]
move headers into other filters

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

16 years agoremove cmd_summon and cmd_users from solution
brain [Sat, 29 Sep 2007 20:44:28 +0000 (20:44 +0000)]
remove cmd_summon and cmd_users from solution

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

16 years agoRemoved extremely verbose debugging from the SSL modules, as I believe that bug has...
special [Sat, 29 Sep 2007 00:15:41 +0000 (00:15 +0000)]
Removed extremely verbose debugging from the SSL modules, as I believe that bug has been fixed (and we don't want this in for release anyway)

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

16 years agoCorrect wording of message in cmd_invite pointed out by Zaba
brain [Fri, 28 Sep 2007 16:15:31 +0000 (16:15 +0000)]
Correct wording of message in cmd_invite pointed out by Zaba

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

16 years agow00t forgot to edit these out.
eggy [Fri, 28 Sep 2007 14:03:39 +0000 (14:03 +0000)]
w00t forgot to edit these out.

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

16 years agoRemove /summon and /users (I think 15+ years of being marked deprecated is enough...
w00t [Thu, 27 Sep 2007 15:48:05 +0000 (15:48 +0000)]
Remove /summon and /users (I think 15+ years of being marked deprecated is enough, really)

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

16 years agoForgot part of the fix for bug #404
special [Thu, 27 Sep 2007 00:11:25 +0000 (00:11 +0000)]
Forgot part of the fix for bug #404

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

16 years agoFixed bug #404; this was caused by recieving multiple OPERTYPEs from a remote server...
special [Wed, 26 Sep 2007 23:49:15 +0000 (23:49 +0000)]
Fixed bug #404; this was caused by recieving multiple OPERTYPEs from a remote server, which eventually resulted in bad pointers inside the all_opers list

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

16 years agoIs this thing on?
eggy [Wed, 26 Sep 2007 23:05:33 +0000 (23:05 +0000)]
Is this thing on?

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

16 years agoRemove compiler warnings in windows build
brain [Tue, 25 Sep 2007 20:52:17 +0000 (20:52 +0000)]
Remove compiler warnings in windows build

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

16 years agoFix compile error
brain [Tue, 25 Sep 2007 00:50:14 +0000 (00:50 +0000)]
Fix compile error

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

16 years agoFix for bug #415, affects only trunk (wish i'd known this before i started!)
brain [Tue, 25 Sep 2007 00:45:12 +0000 (00:45 +0000)]
Fix for bug #415, affects only trunk (wish i'd known this before i started!)

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

16 years agoFix for bug #407, set ref[fd] AFTER some checks that may return false and leave the...
brain [Tue, 25 Sep 2007 00:29:02 +0000 (00:29 +0000)]
Fix for bug #407, set ref[fd] AFTER some checks that may return false and leave the socket engine in an undefined state

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

16 years agoThe only solution is to hide the killing oper even from other opers, and make them...
brain [Tue, 25 Sep 2007 00:10:00 +0000 (00:10 +0000)]
The only solution is to hide the killing oper even from other opers, and make them read the snomasks. You cant have it both ways, if you want to hide stuff, you HIDE it. Deal with it.

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

16 years agoadded a '!
bricker [Tue, 25 Sep 2007 00:06:24 +0000 (00:06 +0000)]
added a '!

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

16 years agoFinal part of fix for #419
brain [Mon, 24 Sep 2007 23:53:30 +0000 (23:53 +0000)]
Final part of fix for #419

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

16 years agoFix part of bug #419 (source nick showing in KILL message to user with hidekills on)
brain [Mon, 24 Sep 2007 23:49:07 +0000 (23:49 +0000)]
Fix part of bug #419 (source nick showing in KILL message to user with hidekills on)

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

16 years agoFix for bug #424
brain [Mon, 24 Sep 2007 23:42:36 +0000 (23:42 +0000)]
Fix for bug #424

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

16 years agoconformity is yay! ok, fixed some typo's, etc etc...
bricker [Mon, 24 Sep 2007 01:14:52 +0000 (01:14 +0000)]
conformity is yay! ok, fixed some typo's, etc etc...

Just pleasing to the eye for those anal retentive folks ;) more to come.

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

16 years agoRemove InspIRCd::DoOneIteration, throwback to software threading (lulz)
brain [Sun, 23 Sep 2007 19:19:14 +0000 (19:19 +0000)]
Remove InspIRCd::DoOneIteration, throwback to software threading (lulz)

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

16 years agoadd extra modules folder and exclude from build
brain [Sun, 23 Sep 2007 19:10:06 +0000 (19:10 +0000)]
add extra modules folder and exclude from build

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

16 years agoSeems nobody tested this in windows at all, Module::Module(Inst) is not valid in...
brain [Sun, 23 Sep 2007 18:50:32 +0000 (18:50 +0000)]
Seems nobody tested this in windows at all, Module::Module(Inst) is not valid in msvc 8, Module(Inst) must be used in the constructor

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

16 years agoAdd command handlers (excluded from build) too
brain [Sun, 23 Sep 2007 18:37:55 +0000 (18:37 +0000)]
Add command handlers (excluded from build) too

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

16 years agoFix dodgy constructor
brain [Sun, 23 Sep 2007 18:35:39 +0000 (18:35 +0000)]
Fix dodgy constructor

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

16 years agoAdd modules to the project and exclude from build (its often a pain to track these...
brain [Sun, 23 Sep 2007 18:34:47 +0000 (18:34 +0000)]
Add modules to the project and exclude from build (its often a pain to track these down and open them in the ide)

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

16 years agoDirectory creation fixes
brain [Sun, 23 Sep 2007 18:19:26 +0000 (18:19 +0000)]
Directory creation fixes

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

16 years agoMore compile fixes
brain [Sun, 23 Sep 2007 18:15:38 +0000 (18:15 +0000)]
More compile fixes

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

16 years agoMore compile fixes
brain [Sun, 23 Sep 2007 18:05:15 +0000 (18:05 +0000)]
More compile fixes

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

16 years agoAdd dbghelp.lib
brain [Sun, 23 Sep 2007 17:45:17 +0000 (17:45 +0000)]
Add dbghelp.lib

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

16 years agoFix configure to make release directories during build
brain [Sun, 23 Sep 2007 17:40:43 +0000 (17:40 +0000)]
Fix configure to make release directories during build

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

16 years agoFix library paths for compilation on my laptop
brain [Sun, 23 Sep 2007 17:39:30 +0000 (17:39 +0000)]
Fix library paths for compilation on my laptop

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

16 years agoTest from vista laptop
brain [Sun, 23 Sep 2007 15:19:46 +0000 (15:19 +0000)]
Test from vista laptop

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

16 years agoFix some words and capitalizations etc...
bricker [Fri, 21 Sep 2007 11:14:42 +0000 (11:14 +0000)]
Fix some words and capitalizations etc...

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

16 years agocapitalized "Bugtracker" "Forums" "Development"
bricker [Thu, 20 Sep 2007 23:23:43 +0000 (23:23 +0000)]
capitalized "Bugtracker" "Forums" "Development"

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

16 years agoThanks dz, forgot uppercase equivalent of AEIOU in the strchr
brain [Thu, 20 Sep 2007 23:08:43 +0000 (23:08 +0000)]
Thanks dz, forgot uppercase equivalent of AEIOU in the strchr

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

16 years agoAs per request from Bricker, change the format of the 'you are now an oper of type...
brain [Thu, 20 Sep 2007 22:51:49 +0000 (22:51 +0000)]
As per request from Bricker, change the format of the 'you are now an oper of type <...>' to 'You are now a/an <...>'

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

16 years agoFixed m_saquit to direct the command to the user's server and from there send a QUIT...
special [Wed, 19 Sep 2007 16:21:12 +0000 (16:21 +0000)]
Fixed m_saquit to direct the command to the user's server and from there send a QUIT to all servers, to prevent desyncs in services and such that don't support saquit.

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

16 years agoFixed bug #418 (incorrect numerics for part of /ADMIN and /USERS) - patch by Zaba
special [Tue, 18 Sep 2007 14:30:41 +0000 (14:30 +0000)]
Fixed bug #418 (incorrect numerics for part of /ADMIN and /USERS) - patch by Zaba

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

16 years agoFixed bug #417 (empty userstats allowed all stats to be viewed)
special [Tue, 18 Sep 2007 14:23:18 +0000 (14:23 +0000)]
Fixed bug #417 (empty userstats allowed all stats to be viewed)

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

16 years agoFixed bug #414 (cosmetic issue with oper failure notices). Patch by dz
special [Sat, 15 Sep 2007 12:28:18 +0000 (12:28 +0000)]
Fixed bug #414 (cosmetic issue with oper failure notices). Patch by dz

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

16 years agoAdded support for subdirectories in module directories (for organization). I hate...
special [Sat, 15 Sep 2007 10:07:23 +0000 (10:07 +0000)]
Added support for subdirectories in module directories (for organization). I hate perl.

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

16 years agoFixed a compile error in m_ident on ipv6
special [Thu, 13 Sep 2007 15:45:55 +0000 (15:45 +0000)]
Fixed a compile error in m_ident on ipv6

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

16 years agoMade m_ident bind ident requests to the same IP the user is connected on, which is...
special [Thu, 13 Sep 2007 15:34:43 +0000 (15:34 +0000)]
Made m_ident bind ident requests to the same IP the user is connected on, which is much more sane and should fix IPv6. Bug #406

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

16 years agoRedesigned m_rpc_json to work properly in a modular environment, and added the beginn...
special [Thu, 13 Sep 2007 14:55:21 +0000 (14:55 +0000)]
Redesigned m_rpc_json to work properly in a modular environment, and added the beginnings of a framework-inspecific RPC interface for modules. Be warned, this WILL change some - this can be considered an alpha :P

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

16 years agoFixed a rare infinite loop in InspSocket::FlushWriteBuffer() - this could only affect...
special [Thu, 13 Sep 2007 11:54:24 +0000 (11:54 +0000)]
Fixed a rare infinite loop in InspSocket::FlushWriteBuffer() - this could only affect a few rarely used modules, and is difficult to trigger.

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

16 years agoMade m_blockcaps' <blockcaps:minlen> parameter default to 1, not 0, since trying...
special [Thu, 13 Sep 2007 10:32:37 +0000 (10:32 +0000)]
Made m_blockcaps' <blockcaps:minlen> parameter default to 1, not 0, since trying to block an empty line makes no sense

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

16 years agoModified m_cloaking to not use need_positive (instead, cast to an unsigned int)....
special [Wed, 12 Sep 2007 11:07:50 +0000 (11:07 +0000)]
Modified m_cloaking to not use need_positive (instead, cast to an unsigned int). This allows it to use all possible values for an unsigned int, instead of just the positive values in a signed int

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

16 years agoRenamed the needs_unsigned parameter of ConfigReader::ReadInteger to need_positive...
special [Wed, 12 Sep 2007 11:06:36 +0000 (11:06 +0000)]
Renamed the needs_unsigned parameter of ConfigReader::ReadInteger to need_positive to better reflect what it does

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

16 years agoFixed the order of signon/signoff messages in m_watch (bug #410)
special [Tue, 11 Sep 2007 02:55:44 +0000 (02:55 +0000)]
Fixed the order of signon/signoff messages in m_watch (bug #410)

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

16 years agoForward port r8021: fixes bug #408 reported and patched by Switch
w00t [Sat, 8 Sep 2007 00:27:09 +0000 (00:27 +0000)]
Forward port r8021: fixes bug #408 reported and patched by Switch

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

16 years agoFixed IPv6 resolving on big-endian machines (bug #403). Patch by Stric.
special [Wed, 5 Sep 2007 03:30:57 +0000 (03:30 +0000)]
Fixed IPv6 resolving on big-endian machines (bug #403). Patch by Stric.

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

16 years ago* Fixed connection messages in ModuleSpanningTree::HandleConnect (reported by HiroP)
burlex [Tue, 4 Sep 2007 13:17:38 +0000 (13:17 +0000)]
* Fixed connection messages in ModuleSpanningTree::HandleConnect (reported by HiroP)

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

16 years ago* Fixed some incorrect declarations in IOCPEngine
burlex [Tue, 4 Sep 2007 12:36:05 +0000 (12:36 +0000)]
* Fixed some incorrect declarations in IOCPEngine
* Fixed the virtual socket wrapper functions in IOCPEngine {these should really be inlined on unix}
* Fixed several compilation issues under Win32
* Fixed calls to close() which should've been changed to SE->Close()
+ Added a crashdump saving system to Win32 builds. Dumps are saved in the format of dump-<exename>-<year>-<month>-<day>-<hour>-<minute>-<second>.dmp in the working directory. Enabled by default, undefine ENABLE_CRASHDUMPS to disable.
+ Added m_operflood, this is a module I've had lying around for some time but some users may like it as it allows unreal-like behaviour without increasing flood limits for non-opers.

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

16 years agoFixed an issue that could cause empty parameters in module commands to not be sent...
special [Sun, 2 Sep 2007 05:33:10 +0000 (05:33 +0000)]
Fixed an issue that could cause empty parameters in module commands to not be sent to other servers properly

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

16 years agoCompletely rewrote m_ident; the old one was written long ago and had a history of...
special [Sun, 2 Sep 2007 05:16:08 +0000 (05:16 +0000)]
Completely rewrote m_ident; the old one was written long ago and had a history of being very buggy (and still had quite a few bugs)

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

16 years agoUnbreak the compile.
w00t [Fri, 31 Aug 2007 19:39:49 +0000 (19:39 +0000)]
Unbreak the compile.

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

16 years agoThis may not compile, I'll test it on my desktop. Waiting 20 minutes for a build...
w00t [Fri, 31 Aug 2007 19:37:22 +0000 (19:37 +0000)]
This may not compile, I'll test it on my desktop. Waiting 20 minutes for a build is unacceptable.

- Move UUID initialisation to InspIRCd::InitialiseUID()
- Call it if we run out of existing UUIDs
- Call it on startup

Just a small cleanup.

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

16 years agoFixed a double free in m_ident. Found by AnMaster
special [Fri, 31 Aug 2007 07:42:09 +0000 (07:42 +0000)]
Fixed a double free in m_ident. Found by AnMaster

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

16 years agoFixed a bug introduced in r7827 (does not affect 1.1.12) that would cause an infinite...
special [Fri, 31 Aug 2007 01:11:58 +0000 (01:11 +0000)]
Fixed a bug introduced in r7827 (does not affect 1.1.12) that would cause an infinite loop for some spanningtree link errors. Found by danieldg

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

16 years agoI lose for being slow. also tidyup a bit, still needs to fix that sizeof..
peavey [Wed, 29 Aug 2007 21:38:42 +0000 (21:38 +0000)]
I lose for being slow. also tidyup a bit, still needs to fix that sizeof..

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

16 years agoHah, I win *hide*
w00t [Wed, 29 Aug 2007 21:36:14 +0000 (21:36 +0000)]
Hah, I win *hide*

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

16 years agoReformat this pointlessly
w00t [Wed, 29 Aug 2007 21:35:52 +0000 (21:35 +0000)]
Reformat this pointlessly

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

16 years agoAdd a pointless WriteOpers
brain [Wed, 29 Aug 2007 21:35:03 +0000 (21:35 +0000)]
Add a pointless WriteOpers

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

16 years agoAdd name.
peavey [Wed, 29 Aug 2007 21:23:58 +0000 (21:23 +0000)]
Add name.

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

16 years agoAdd duplicate UID error in ParseUID(), seems pippijn was triggering it and it was...
brain [Wed, 29 Aug 2007 21:09:39 +0000 (21:09 +0000)]
Add duplicate UID error in ParseUID(), seems pippijn was triggering it and it was falling through the empty catch into _new = NULL :p

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

16 years agoMake IsSID completely strict: Must be [digit][A-Zdigit][A-Zdigit], nothing else.
brain [Wed, 29 Aug 2007 20:31:52 +0000 (20:31 +0000)]
Make IsSID completely strict: Must be [digit][A-Zdigit][A-Zdigit], nothing else.
Use it to sanity check SID given on link

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

16 years agoThis needs to be sent in burst too
brain [Wed, 29 Aug 2007 19:59:42 +0000 (19:59 +0000)]
This needs to be sent in burst too

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

16 years agoSome modules forgotten for conversion to ModuleManager
brain [Wed, 29 Aug 2007 19:55:54 +0000 (19:55 +0000)]
Some modules forgotten for conversion to ModuleManager

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

16 years agoFix to compile with new module api
peavey [Wed, 29 Aug 2007 19:55:18 +0000 (19:55 +0000)]
Fix to compile with new module api

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

16 years agoWe really should SEND it too, if we're looking for it... :p
brain [Wed, 29 Aug 2007 19:46:22 +0000 (19:46 +0000)]
We really should SEND it too, if we're looking for it... :p

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

16 years agoIMPORTANT: UID command now takes TEN parameters in 1.2. We never had a signon time...
brain [Wed, 29 Aug 2007 19:45:03 +0000 (19:45 +0000)]
IMPORTANT: UID command now takes TEN parameters in 1.2. We never had a signon time seperate from the TS in the UID command (or 1.1's NICK command) because in 1.1 this timestamp never updated
and was therefore useful for both values. This is no longer the case and we must pass both seperately

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

16 years agoSwap around ERROR and SNONOTICE in SendError() so that the server doesnt try and...
brain [Wed, 29 Aug 2007 18:07:10 +0000 (18:07 +0000)]
Swap around ERROR and SNONOTICE in SendError() so that the server doesnt try and send SNONOTICE to a connection that just closed on it

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

16 years agoA few more minor cleanups
om [Wed, 29 Aug 2007 09:45:20 +0000 (09:45 +0000)]
A few more minor cleanups

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

16 years agoMove everything module-related out of InspIRCd and into ModuleManager, there is a...
om [Tue, 28 Aug 2007 23:32:41 +0000 (23:32 +0000)]
Move everything module-related out of InspIRCd and into ModuleManager, there is a ModuleManager instantiated as InspIRCd::Modules. Several of the function names have changed slightly as well. e.g. Instance->FindModule(m_foobar.so); is now Instance->Modules->Find(m_foobar.so);
All modules in the core distribution should also be updated in line with these changes.

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

16 years agoTidy up here, same tidyup cannot go back to stable as it involves uids
brain [Tue, 28 Aug 2007 21:48:56 +0000 (21:48 +0000)]
Tidy up here, same tidyup cannot go back to stable as it involves uids

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

16 years agoAdd SVSPART at request of the Anope team - You can tell if the server has SVSPART...
brain [Tue, 28 Aug 2007 21:44:10 +0000 (21:44 +0000)]
Add SVSPART at request of the Anope team - You can tell if the server has SVSPART by the presence of SVSPART=1 in the CAPAB.
No, we will NOT be enforcing this network-wide, its a server-origin command so it wont cause disconnects if it doesnt exist somewhere.

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

16 years agoIf we see a NICK message without a timestamp on it, squit the server
brain [Tue, 28 Aug 2007 20:34:26 +0000 (20:34 +0000)]
If we see a NICK message without a timestamp on it, squit the server

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

16 years agoRemove unneeded debug from previous tests
brain [Tue, 28 Aug 2007 20:30:59 +0000 (20:30 +0000)]
Remove unneeded debug from previous tests

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

16 years agoIf the user's nick is just a case change, the TS is NOT updated (thanks jilles)
brain [Tue, 28 Aug 2007 20:27:16 +0000 (20:27 +0000)]
If the user's nick is just a case change, the TS is NOT updated (thanks jilles)

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

16 years agoNote: NICK now takes two params, a nickname and a timestamp of the change.
brain [Tue, 28 Aug 2007 20:21:27 +0000 (20:21 +0000)]
Note: NICK now takes two params, a nickname and a timestamp of the change.
When a nick change occurs this must update the users timestamp, so that the users nick is marked to a newer TS.

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

16 years agoWhen a server sends a SERVER command with <5 params, dont just close the connection...
brain [Tue, 28 Aug 2007 19:46:54 +0000 (19:46 +0000)]
When a server sends a SERVER command with <5 params, dont just close the connection without error. Give the error "Protocol violation -- Missing SID"

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

16 years agoDELETE() -> delete
w00t [Tue, 28 Aug 2007 19:27:19 +0000 (19:27 +0000)]
DELETE() -> delete

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

16 years ago(Om, this commit is safe): remove references to DELETE() macro, revert back to delete...
w00t [Tue, 28 Aug 2007 19:06:15 +0000 (19:06 +0000)]
(Om, this commit is safe): remove references to DELETE() macro, revert back to delete. Nobody used this most of the time, it had no real purpose, etc.

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

16 years agoFirst step on the road of module loader rewriting. So far this only really removes...
om [Tue, 28 Aug 2007 18:47:55 +0000 (18:47 +0000)]
First step on the road of module loader rewriting. So far this only really removes module factories. Any modules not updated to use MODULE_INIT() yet will now fail to compile \o/

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

16 years agoUse MODULE_INIT here too
w00t [Tue, 28 Aug 2007 18:43:15 +0000 (18:43 +0000)]
Use MODULE_INIT here too

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

16 years agoNo idea why this wasn't using MODULE_INIT. Thanks Om.
w00t [Tue, 28 Aug 2007 18:37:44 +0000 (18:37 +0000)]
No idea why this wasn't using MODULE_INIT. Thanks Om.

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

16 years agoDamn strict typing to hell
w00t [Tue, 28 Aug 2007 18:33:43 +0000 (18:33 +0000)]
Damn strict typing to hell

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

16 years agoLast raft of compile fixes
brain [Tue, 28 Aug 2007 18:31:13 +0000 (18:31 +0000)]
Last raft of compile fixes

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

16 years agoOops. We were missing a param on this SVSNICK for remote TS.. that probably was blast...
w00t [Tue, 28 Aug 2007 18:31:01 +0000 (18:31 +0000)]
Oops. We were missing a param on this SVSNICK for remote TS.. that probably was blasting client TS on nick collision, which isn't good

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

16 years agoFixes 2
brain [Tue, 28 Aug 2007 18:29:53 +0000 (18:29 +0000)]
Fixes 2

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

16 years agoFixes 1
brain [Tue, 28 Aug 2007 18:27:51 +0000 (18:27 +0000)]
Fixes 1

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

16 years agoConvert yet more to ServerConfig::GetSID() - this is the last of the obvious stuff.
brain [Tue, 28 Aug 2007 18:25:36 +0000 (18:25 +0000)]
Convert yet more to ServerConfig::GetSID() - this is the last of the obvious stuff.

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

16 years agoMake the notes on not using the two services modules at the same time bigger :P
w00t [Tue, 28 Aug 2007 18:19:57 +0000 (18:19 +0000)]
Make the notes on not using the two services modules at the same time bigger :P

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