]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoFix bug#152 reported by smartys
brain [Sun, 24 Sep 2006 12:39:59 +0000 (12:39 +0000)]
Fix bug#152 reported by smartys

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

17 years agoDont send explicit FMODE +qa when qaprefixes is on (because its sent in the fjoin...
brain [Sun, 24 Sep 2006 10:50:10 +0000 (10:50 +0000)]
Dont send explicit FMODE +qa when qaprefixes is on (because its sent in the fjoin implicitly)

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

17 years agoAdd new server to server command:
brain [Sun, 24 Sep 2006 10:44:45 +0000 (10:44 +0000)]
Add new server to server command:

:server.name REMSTATUS #channel

NOTE: Protocol version bumped to 1101

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

17 years agoSpeaking of misleading comments, 'Delete and InspTImer' isn't particularly descriptive
special [Sun, 24 Sep 2006 08:44:24 +0000 (08:44 +0000)]
Speaking of misleading comments, 'Delete and InspTImer' isn't particularly descriptive

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

17 years agoFixed the reversal of update and modupdate in ./configure
special [Sun, 24 Sep 2006 08:39:49 +0000 (08:39 +0000)]
Fixed the reversal of update and modupdate in ./configure

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

17 years agoFixed bugs #150 and #151, thanks to jamie for reporting and patches
special [Sun, 24 Sep 2006 08:10:50 +0000 (08:10 +0000)]
Fixed bugs #150 and #151, thanks to jamie for reporting and patches

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

17 years ago++
brain [Sat, 23 Sep 2006 21:25:12 +0000 (21:25 +0000)]
++

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

17 years agoSneak some more
brain [Sat, 23 Sep 2006 17:52:42 +0000 (17:52 +0000)]
Sneak some more

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

17 years ago*sneak sneak*
brain [Sat, 23 Sep 2006 17:50:53 +0000 (17:50 +0000)]
*sneak sneak*

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

17 years agoUpdate expiries when we update the set time
brain [Tue, 19 Sep 2006 20:26:48 +0000 (20:26 +0000)]
Update expiries when we update the set time

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

17 years agoMake the check against z/k/q/e/g methods return a pointer to the whole object rather...
brain [Tue, 19 Sep 2006 18:24:07 +0000 (18:24 +0000)]
Make the check against z/k/q/e/g methods return a pointer to the whole object rather than just the reason string

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

17 years agoFix crashes, and in the process make xline even faster!
brain [Tue, 19 Sep 2006 18:12:43 +0000 (18:12 +0000)]
Fix crashes, and in the process make xline even faster!

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

17 years agoChange type to size_t so that 64 bit platforms dont whine about data loss when casting
brain [Tue, 19 Sep 2006 17:56:14 +0000 (17:56 +0000)]
Change type to size_t so that 64 bit platforms dont whine about data loss when casting

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

17 years agoAdapt to use std::string::const_iterator
brain [Tue, 19 Sep 2006 17:55:13 +0000 (17:55 +0000)]
Adapt to use std::string::const_iterator

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

17 years agoTidy up key handling
brain [Tue, 19 Sep 2006 13:51:23 +0000 (13:51 +0000)]
Tidy up key handling

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

17 years agoMake xline more memory-efficient and faster/neater. Eliminate a mass of fixed-size...
brain [Tue, 19 Sep 2006 13:44:09 +0000 (13:44 +0000)]
Make xline more memory-efficient and faster/neater. Eliminate a mass of fixed-size buffer and strlcpy

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

17 years agoUse ++x not x++, to more closely match what stl does
brain [Tue, 19 Sep 2006 13:16:04 +0000 (13:16 +0000)]
Use ++x not x++, to more closely match what stl does

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

17 years agoULTRA FAST HASH FUNCTION :p
brain [Tue, 19 Sep 2006 12:50:40 +0000 (12:50 +0000)]
ULTRA FAST HASH FUNCTION :p
I went and looked how hash_fun.h in STL did it, to save a string copy :p
(it's deceptively simple too)

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

17 years agoMore detail in system detection
brain [Tue, 19 Sep 2006 11:29:44 +0000 (11:29 +0000)]
More detail in system detection

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

17 years agoMore help text stuff
brain [Tue, 19 Sep 2006 11:15:00 +0000 (11:15 +0000)]
More help text stuff

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

17 years agoHard requirement on 5.6.0 and above of perl
brain [Tue, 19 Sep 2006 11:07:56 +0000 (11:07 +0000)]
Hard requirement on 5.6.0 and above of perl

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

17 years agoTidy up configure to display better in 80x25
brain [Tue, 19 Sep 2006 11:04:34 +0000 (11:04 +0000)]
Tidy up configure to display better in 80x25

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

17 years agoTidy up help text
brain [Tue, 19 Sep 2006 10:53:41 +0000 (10:53 +0000)]
Tidy up help text

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

17 years agoclarify -- and - stuff
brain [Tue, 19 Sep 2006 10:51:48 +0000 (10:51 +0000)]
clarify -- and - stuff

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

17 years agoFix old interactive opts and -update etc
brain [Tue, 19 Sep 2006 10:50:31 +0000 (10:50 +0000)]
Fix old interactive opts and -update etc

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

17 years agoFix typo
brain [Tue, 19 Sep 2006 10:35:47 +0000 (10:35 +0000)]
Fix typo

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

17 years agoAllow -help as well as --help
brain [Tue, 19 Sep 2006 10:33:46 +0000 (10:33 +0000)]
Allow -help as well as --help

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

17 years agoSkip certificate generation if we're running non-interactive
brain [Tue, 19 Sep 2006 10:32:20 +0000 (10:32 +0000)]
Skip certificate generation if we're running non-interactive

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

17 years agooptional non-interactive configure (woo yay, ./configure --help for info)
brain [Tue, 19 Sep 2006 10:25:02 +0000 (10:25 +0000)]
optional non-interactive configure (woo yay, ./configure --help for info)
NO I AM NOT HERE, im committing from work :p

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

17 years agoUpdate changelog
brain [Tue, 19 Sep 2006 08:41:26 +0000 (08:41 +0000)]
Update changelog

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

17 years agoAutomatically make http request type and http version string uppercase, add comments...
brain [Sun, 17 Sep 2006 21:04:20 +0000 (21:04 +0000)]
Automatically make http request type and http version string uppercase, add comments, remove some unused headers

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

17 years agoDocumentation of the new m_alias
brain [Sun, 17 Sep 2006 16:20:49 +0000 (16:20 +0000)]
Documentation of the new m_alias

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

17 years agoTesting and debugging done, it all works :)
brain [Sun, 17 Sep 2006 15:46:05 +0000 (15:46 +0000)]
Testing and debugging done, it all works :)

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

17 years agoNow supports multiple commands seperated with \n. NOTE: These \n's are translated...
brain [Sun, 17 Sep 2006 15:42:13 +0000 (15:42 +0000)]
Now supports multiple commands seperated with \n. NOTE: These \n's are translated by the config parser to REAL linefeeds! If you want the literal \n, put \\n.

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

17 years agoAllow putting newlines into quoted values in the config using \n. I'm coming to a...
brain [Sun, 17 Sep 2006 15:33:36 +0000 (15:33 +0000)]
Allow putting newlines into quoted values in the config using \n. I'm coming to a use for this.

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

17 years agoHide ulines from /stats P
brain [Sun, 17 Sep 2006 15:15:18 +0000 (15:15 +0000)]
Hide ulines from /stats P

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

17 years agoAdd operonly aliases, <alias:operonly> (boolean).
brain [Sun, 17 Sep 2006 15:10:27 +0000 (15:10 +0000)]
Add operonly aliases, <alias:operonly> (boolean).
Any operonly aliases that are executed by non-oper appear to not exist

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

17 years agoNow it all works :)
brain [Sun, 17 Sep 2006 15:00:09 +0000 (15:00 +0000)]
Now it all works :)
This is pretty smart stuff...
Set up an alias like this:
<alias text="NICKSERV" replace="PRIVMSG NickServ :IDENTIFY $3" ...>
This will replace the $3 in the replace string with the 3rd word typed on the line by the user.
Use $1 through $9 for items $1 to $9, and $1- to $9- to mean first word onwards, through 9th word onwards. Also there are special variables, such as $nick, $ident, $host, $vhost which can be used in the alias replace string.

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

17 years agoNew m_alias, this probably doesnt work yet
brain [Sun, 17 Sep 2006 14:35:21 +0000 (14:35 +0000)]
New m_alias, this probably doesnt work yet

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

17 years agoFirst of many m_alias tidyups, this will eventually become a rewrite of the majority...
brain [Sun, 17 Sep 2006 14:11:22 +0000 (14:11 +0000)]
First of many m_alias tidyups, this will eventually become a rewrite of the majority of this module

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

17 years agoTurn irc::commasepstream into a base class, irc::sepstream, inherit two classes from...
brain [Sun, 17 Sep 2006 14:08:03 +0000 (14:08 +0000)]
Turn irc::commasepstream into a base class, irc::sepstream, inherit two classes from it: irc::commasepstream and irc::spacesepstream, to be used for the most common token seperators "," and " "

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

17 years agoAdd const std::string &original_command to OnPreCommand and OnPostCommand, which...
brain [Sun, 17 Sep 2006 14:01:53 +0000 (14:01 +0000)]
Add const std::string &original_command to OnPreCommand and OnPostCommand, which gives the entire untouched command string and params in all its colon-ny glory

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

17 years agoProper checking in /SAPART that the user really did leave, for the CMD_FAILURE and...
brain [Fri, 15 Sep 2006 20:43:05 +0000 (20:43 +0000)]
Proper  checking in /SAPART that the user really did leave, for the CMD_FAILURE and CMD_SUCCESS return values (see SAJOIN)

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

17 years agoFix crash on two objects trying to free each other at the same time
brain [Fri, 15 Sep 2006 18:46:40 +0000 (18:46 +0000)]
Fix crash on two objects trying to free each other at the same time

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

17 years agoComments
brain [Fri, 15 Sep 2006 18:39:24 +0000 (18:39 +0000)]
Comments

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

17 years agoFix memory leak too
brain [Fri, 15 Sep 2006 18:37:19 +0000 (18:37 +0000)]
Fix memory leak too

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

17 years agoAdd timeouts to the http module. Two seperate timeouts, 60 seconds to receive headers...
brain [Fri, 15 Sep 2006 18:36:38 +0000 (18:36 +0000)]
Add timeouts to the http module. Two seperate timeouts, 60 seconds to receive headers, and 60 seconds after receipt of headers and sending of page, in which to time out the connection if the client doesnt close() as it should

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

17 years agoImprove notices, so that if SAJOIN fails it can tell the oper who issued it
brain [Fri, 15 Sep 2006 17:26:43 +0000 (17:26 +0000)]
Improve notices, so that if SAJOIN fails it can tell the oper who issued it

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

17 years agoFix for bug noticed by dotslasher (?) where SAJOIN can desync
brain [Fri, 15 Sep 2006 17:17:30 +0000 (17:17 +0000)]
Fix for bug noticed by dotslasher (?) where SAJOIN can desync

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

17 years agoAnnotations
brain [Fri, 15 Sep 2006 15:06:51 +0000 (15:06 +0000)]
Annotations

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

17 years agoAnnotations
brain [Fri, 15 Sep 2006 14:59:22 +0000 (14:59 +0000)]
Annotations

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

17 years agoAnnotations
brain [Fri, 15 Sep 2006 14:25:10 +0000 (14:25 +0000)]
Annotations

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

17 years agoAnnotations
brain [Fri, 15 Sep 2006 10:59:36 +0000 (10:59 +0000)]
Annotations

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

17 years agoRemove ExemptItem and InviteItem, these were never used
brain [Fri, 15 Sep 2006 10:29:22 +0000 (10:29 +0000)]
Remove ExemptItem and InviteItem, these were never used

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

17 years agoComment tidyup and change format so doxygen can detect them
brain [Fri, 15 Sep 2006 09:55:19 +0000 (09:55 +0000)]
Comment tidyup and change format so doxygen can detect them

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

17 years agoComments describing classes, for the url http://svn.inspircd.org/docs/annotated.html
brain [Fri, 15 Sep 2006 09:47:43 +0000 (09:47 +0000)]
Comments describing classes, for the url http://svn.inspircd.org/docs/annotated.html

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

17 years agoFix some stuff, avoid use of global ServerInstance var
brain [Fri, 15 Sep 2006 08:07:32 +0000 (08:07 +0000)]
Fix some stuff, avoid use of global ServerInstance var

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

17 years agoCommit all the httpd patches i sneakily put in before 9am at the office :p
brain [Thu, 14 Sep 2006 17:28:15 +0000 (17:28 +0000)]
Commit all the httpd patches i sneakily put in before 9am at the office :p

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

17 years agoUse gmtime() not localtime() as RFC2616 says dates sent by a http server must be...
brain [Thu, 14 Sep 2006 13:08:47 +0000 (13:08 +0000)]
Use gmtime() not localtime() as RFC2616 says dates sent by a http server must be GMT/UTC

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

17 years agoRemember to change state when sending error 400
brain [Thu, 14 Sep 2006 11:45:38 +0000 (11:45 +0000)]
Remember to change state when sending error 400

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

17 years agoSend error 400 when content-size is 0 or omitted for POST
brain [Thu, 14 Sep 2006 11:42:03 +0000 (11:42 +0000)]
Send error 400 when content-size is 0 or omitted for POST

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

17 years agoFix postdata stuff
brain [Thu, 14 Sep 2006 11:35:43 +0000 (11:35 +0000)]
Fix postdata stuff

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

17 years agoOnly initialise request type once
brain [Thu, 14 Sep 2006 11:25:37 +0000 (11:25 +0000)]
Only initialise request type once

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

17 years agoProperly read POSTDATA
brain [Thu, 14 Sep 2006 11:15:39 +0000 (11:15 +0000)]
Properly read POSTDATA

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

17 years agoTodo: find out content-length, then read that much data
brain [Wed, 13 Sep 2006 22:43:10 +0000 (22:43 +0000)]
Todo: find out content-length, then read that much data

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

17 years agoBeginnings of postdata stuff
brain [Wed, 13 Sep 2006 22:38:03 +0000 (22:38 +0000)]
Beginnings of postdata stuff

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

17 years agoAdd jamie to code contributors in /info
brain [Wed, 13 Sep 2006 22:06:08 +0000 (22:06 +0000)]
Add jamie to code contributors in /info

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

17 years agoDocument this
brain [Wed, 13 Sep 2006 21:59:25 +0000 (21:59 +0000)]
Document this

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

17 years agoDid i ever mention that pipp was pedantic? ;)
brain [Wed, 13 Sep 2006 21:14:46 +0000 (21:14 +0000)]
Did i ever mention that pipp was pedantic? ;)

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

17 years agoAdd m_conn_umodes.so which allows setting of modes on users when they connect
brain [Wed, 13 Sep 2006 21:12:31 +0000 (21:12 +0000)]
Add m_conn_umodes.so which allows setting of modes on users when they connect
Remove automatic +x from m_cloaking now that conn_umodes can do this
Document in example conf.
Syntax is <connect:modes> and a mode string in any valid connect:allow tag

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

17 years agoPatch from jamie to detect malformed openssl versions
brain [Wed, 13 Sep 2006 20:50:08 +0000 (20:50 +0000)]
Patch from jamie to detect malformed openssl versions

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

17 years agoTry this pipp and see if the bug manifests in a different place
brain [Wed, 13 Sep 2006 20:37:38 +0000 (20:37 +0000)]
Try this pipp and see if the bug manifests in a different place

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

17 years agoIf inspircd crashes in std::string destructor in CommandParser::ProcessCommand, take...
brain [Wed, 13 Sep 2006 20:29:53 +0000 (20:29 +0000)]
If inspircd crashes in std::string destructor in CommandParser::ProcessCommand, take away all std::string's to make the bug manifest elsewhere, so maybe we can spot it

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

17 years agoAdd a comment for readability
brain [Wed, 13 Sep 2006 20:08:25 +0000 (20:08 +0000)]
Add a comment for readability

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

17 years agoSpecial check in cmd_quit and cmd_kill and special return value CMD_USER_DELETED...
brain [Wed, 13 Sep 2006 20:07:19 +0000 (20:07 +0000)]
Special check in cmd_quit and cmd_kill and special return value CMD_USER_DELETED, to prevent theoretical segfault (this isnt the bug youre trying to find, pip)

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

17 years agoTry this, jamie
brain [Wed, 13 Sep 2006 18:49:56 +0000 (18:49 +0000)]
Try this, jamie

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

17 years agoFix minor memory leak when setting new param that replaces old
brain [Wed, 13 Sep 2006 18:18:51 +0000 (18:18 +0000)]
Fix minor memory leak when setting new param that replaces old

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

17 years agoAdd debug to m_spanningtree, verifies that inspircd works correctly on FMODE (after...
brain [Wed, 13 Sep 2006 18:01:37 +0000 (18:01 +0000)]
Add debug to m_spanningtree, verifies that inspircd works correctly on FMODE (after patches are applied)

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

17 years agoFix
brain [Wed, 13 Sep 2006 17:52:58 +0000 (17:52 +0000)]
Fix

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

17 years agoFix m_messageflood along same lines as m_joinflood (jamie forgot a patch, i figured...
brain [Wed, 13 Sep 2006 17:51:01 +0000 (17:51 +0000)]
Fix m_messageflood along same lines as m_joinflood (jamie forgot a patch, i figured this one out for myself)

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

17 years agoAnd fix again
brain [Wed, 13 Sep 2006 17:48:33 +0000 (17:48 +0000)]
And fix again

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

17 years agoMerge jamies many patches
brain [Wed, 13 Sep 2006 17:47:35 +0000 (17:47 +0000)]
Merge jamies many patches

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

17 years agoApplied jamie's cmd_gline patch
special [Wed, 13 Sep 2006 02:28:37 +0000 (02:28 +0000)]
Applied jamie's cmd_gline patch

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

17 years agoWhack a strlcpy()
brain [Mon, 11 Sep 2006 20:02:46 +0000 (20:02 +0000)]
Whack a strlcpy()

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

17 years agokill casts, so that om <3's the code
brain [Mon, 11 Sep 2006 19:51:08 +0000 (19:51 +0000)]
kill casts, so that om <3's the code

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

17 years agoFix for picky compilers (see, I work sometimes ;p)
w00t [Mon, 11 Sep 2006 19:34:28 +0000 (19:34 +0000)]
Fix for picky compilers (see, I work sometimes ;p)

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

17 years agoFix timedbans bug reported by jamie
brain [Mon, 11 Sep 2006 17:24:09 +0000 (17:24 +0000)]
Fix timedbans bug reported by jamie

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

17 years agoRemove execinfo and threaded dns detection
brain [Mon, 11 Sep 2006 00:14:48 +0000 (00:14 +0000)]
Remove execinfo and threaded dns detection

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

17 years agoWhat TWONK made uname be /bin/uname, its NOT in /bin on bsd.
brain [Mon, 11 Sep 2006 00:06:46 +0000 (00:06 +0000)]
What TWONK made uname be /bin/uname, its NOT in /bin on bsd.

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

17 years agoAdded a bunch of binaries, configs, modules symlinked from extra, and other unversion...
special [Sun, 10 Sep 2006 23:32:39 +0000 (23:32 +0000)]
Added a bunch of binaries, configs, modules symlinked from extra, and other unversioned things to svn:ignore

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

17 years agoThis should fix the timeout issues pippjin was experiencing
brain [Sun, 10 Sep 2006 23:18:42 +0000 (23:18 +0000)]
This should fix the timeout issues pippjin was experiencing

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

17 years agoRemove -Ldl from c++ opts in freebsd... its always been a non-op (all it does is...
brain [Sun, 10 Sep 2006 20:00:47 +0000 (20:00 +0000)]
Remove -Ldl from c++ opts in freebsd... its always been a non-op (all it does is try to look in dir 'dl' for libs, which doesnt exist anyway) and was being used as a pointless "comment" to indicate dynamic linking was in use. Removed in case it ever breaks something.

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

17 years agoTake some debug crap out of ModeParser::ModeString()
brain [Sun, 10 Sep 2006 19:50:17 +0000 (19:50 +0000)]
Take some debug crap out of ModeParser::ModeString()

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

17 years ago* Fix ChanModes::ModeString to not try and set a key as a user mode ;)
brain [Sun, 10 Sep 2006 19:48:30 +0000 (19:48 +0000)]
* Fix ChanModes::ModeString to not try and set a key as a user mode ;)
* Tweak the way cyclehosts works, so that mode change is not echoed back to user who changes their host/ident

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

17 years agoMake it neater
brain [Sun, 10 Sep 2006 18:24:09 +0000 (18:24 +0000)]
Make it neater

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

17 years agoDont allow keys of length >= 32
brain [Sun, 10 Sep 2006 18:23:09 +0000 (18:23 +0000)]
Dont allow keys of length >= 32

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

17 years agoRemove unused buffer and call to MakeHost()
brain [Sun, 10 Sep 2006 17:55:45 +0000 (17:55 +0000)]
Remove unused buffer and call to MakeHost()

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

17 years agoMake /stats k/g/e work right
brain [Sun, 10 Sep 2006 17:52:55 +0000 (17:52 +0000)]
Make /stats k/g/e work right

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

17 years agoSplit hostmasks into ident and host pairs for matching as g/k/e lines. This allows...
brain [Sun, 10 Sep 2006 17:51:03 +0000 (17:51 +0000)]
Split hostmasks into ident and host pairs for matching as g/k/e lines. This allows them to be matched faster and more efficiently

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

17 years agoFix the new g/k/e line stuff to match ips. NOTE: this makes g/k/e much slower than...
brain [Sun, 10 Sep 2006 17:28:03 +0000 (17:28 +0000)]
Fix the new g/k/e line stuff to match ips. NOTE: this makes g/k/e much slower than z. By factors of about 3. If you want to match tons of users, as always use zline (for this and many other reasons)

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