]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
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

17 years agoMatch IP's with klines, glines and exceptions, as well as hosts
brain [Sun, 10 Sep 2006 17:18:58 +0000 (17:18 +0000)]
Match IP's with klines, glines and exceptions, as well as hosts

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

17 years agoMove Spacify() into irc:: namespace as multiple modules use it now
brain [Sun, 10 Sep 2006 17:03:50 +0000 (17:03 +0000)]
Move Spacify() into irc:: namespace as multiple modules use it now

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

17 years agoSpacify() the oper types
brain [Sun, 10 Sep 2006 16:59:10 +0000 (16:59 +0000)]
Spacify() the oper types

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

17 years agoTons more useful detail when failing to oper (and when successfully opering too)...
brain [Sun, 10 Sep 2006 16:55:07 +0000 (16:55 +0000)]
Tons more useful detail when failing to oper (and when successfully opering too) -- show the login name used, and the non-matching fields

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

17 years agoStop gcc prerelease (PRERELEASE? YEAH REALLY, WE HATE YOUR GUTS DEBIAN) from bitching...
brain [Sun, 10 Sep 2006 15:11:49 +0000 (15:11 +0000)]
Stop gcc prerelease (PRERELEASE? YEAH REALLY, WE HATE YOUR GUTS DEBIAN) from bitching about using ++ within an expression

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

17 years agoRemove m_park from example configuration
brain [Sun, 10 Sep 2006 13:31:59 +0000 (13:31 +0000)]
Remove m_park from example configuration

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

17 years agoNicer fix
brain [Sun, 10 Sep 2006 13:23:22 +0000 (13:23 +0000)]
Nicer fix

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

17 years agoChange a fux into a fix for pippjin (thanks for the bt)
brain [Sun, 10 Sep 2006 13:20:01 +0000 (13:20 +0000)]
Change a fux into a fix for pippjin (thanks for the bt)

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

17 years agoMuch neater more compact override notices for modes:
brain [Sun, 10 Sep 2006 12:22:30 +0000 (12:22 +0000)]
Much neater more compact override notices for modes:
[13:16] --- SNOTICE *** OVERRIDE: Brain Overriding modes: #test +sSCT
[13:16] --- SNOTICE *** OVERRIDE: Brain Overriding modes: #test +ohv Brain Brain Brain [Detail: 1 op ]
[13:16] --- SNOTICE *** OVERRIDE: Brain Overriding modes: #test +vho Brain Brain Brain [Detail: 1 op 1 voice 1 halfop ]

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

17 years agoAdded usermode n (snomask) to the example helpop files
special [Sun, 10 Sep 2006 02:22:57 +0000 (02:22 +0000)]
Added usermode n (snomask) to the example helpop files

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

17 years agoModuleFactories are not being deleted, this means that updates arent loaded
brain [Sat, 9 Sep 2006 21:29:08 +0000 (21:29 +0000)]
ModuleFactories are not being deleted, this means that updates arent loaded

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

17 years agoRemove debug output
brain [Sat, 9 Sep 2006 17:43:36 +0000 (17:43 +0000)]
Remove debug output

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

17 years agoI'll give you ##TOAST, :p
brain [Sat, 9 Sep 2006 17:42:56 +0000 (17:42 +0000)]
I'll give you ##TOAST, :p

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

17 years agoReset LastParse string when we try to parse new modes
brain [Sat, 9 Sep 2006 16:22:04 +0000 (16:22 +0000)]
Reset LastParse string when we try to parse new modes

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

17 years agoDont generate host change, ident change or fullname change events if the host hasnt...
brain [Sat, 9 Sep 2006 16:11:27 +0000 (16:11 +0000)]
Dont generate host change, ident change or fullname change events if the host hasnt changed (case sensitive comparisons)

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

17 years agoEnsure that these output the sane value thats actually set, not the possibly insane...
brain [Sat, 9 Sep 2006 15:37:31 +0000 (15:37 +0000)]
Ensure that these output the sane value thats actually set, not the possibly insane one you TRIED to set

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

17 years agoTidier string building
brain [Sat, 9 Sep 2006 15:34:23 +0000 (15:34 +0000)]
Tidier string building

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

17 years agoMake SAMODE oper output tidier
brain [Sat, 9 Sep 2006 15:29:42 +0000 (15:29 +0000)]
Make SAMODE oper output tidier

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

17 years agoAnd fix it so it doesnt go into an infinite loop when meeting the end condition ...
brain [Sat, 9 Sep 2006 15:21:20 +0000 (15:21 +0000)]
And fix it so it doesnt go into an infinite loop when meeting the end condition (oops)

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

17 years agoAdd sane limiting to mode output, so we cant have more than 100 mode chars in the...
brain [Sat, 9 Sep 2006 15:17:58 +0000 (15:17 +0000)]
Add sane limiting to mode output, so we cant have more than 100 mode chars in the sequence string, or MAXMODES parameters for the modes, or a total length of params+sequence beyond 450.

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

17 years agoTidy up override snotices
brain [Sat, 9 Sep 2006 13:48:42 +0000 (13:48 +0000)]
Tidy up override snotices

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

17 years agom_override is now fixed, replaced AC_GENERAL_MODE OnAccessCheck event
brain [Sat, 9 Sep 2006 13:46:58 +0000 (13:46 +0000)]
m_override is now fixed, replaced AC_GENERAL_MODE OnAccessCheck event

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

17 years agoMore debug logging in this module
brain [Sat, 9 Sep 2006 13:33:11 +0000 (13:33 +0000)]
More debug logging in this module

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

17 years agoGrr
brain [Sat, 9 Sep 2006 00:40:54 +0000 (00:40 +0000)]
Grr

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

17 years agoChanges to m_override
brain [Sat, 9 Sep 2006 00:34:34 +0000 (00:34 +0000)]
Changes to m_override

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

17 years agoThis useless module doesnt work right in multi-server and isnt much good anyway....
brain [Fri, 8 Sep 2006 23:39:44 +0000 (23:39 +0000)]
This useless module doesnt work right in multi-server and isnt much good anyway. I said 1.1 wouldnt have it :p

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

17 years agoFix output when user SANICKs themselves
brain [Fri, 8 Sep 2006 22:13:03 +0000 (22:13 +0000)]
Fix output when user SANICKs themselves

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

17 years agoStop valgrind whining about uninitialized array, all we do is pass it as a buffer...
brain [Fri, 8 Sep 2006 19:29:17 +0000 (19:29 +0000)]
Stop valgrind whining about uninitialized array, all we do is pass it as a buffer, but it whines anyway so we do = {0} on it :p

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

17 years agoFix small memory leak if non-cidr string passed to MatchCIDR
brain [Fri, 8 Sep 2006 19:27:57 +0000 (19:27 +0000)]
Fix small memory leak if non-cidr string passed to MatchCIDR

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

17 years agoFix for uninitialized var in valgrind output
brain [Fri, 8 Sep 2006 19:22:59 +0000 (19:22 +0000)]
Fix for uninitialized var in valgrind output

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

17 years agoSensible failure messages for cmd_qline
brain [Fri, 8 Sep 2006 16:37:28 +0000 (16:37 +0000)]
Sensible failure messages for cmd_qline

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

17 years agoMove spynames attempt notice into success area
brain [Fri, 8 Sep 2006 16:20:58 +0000 (16:20 +0000)]
Move spynames attempt notice into success area

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

17 years agoAnd fix it to compile :p
brain [Fri, 8 Sep 2006 16:04:02 +0000 (16:04 +0000)]
And fix it to compile :p

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

17 years agoTidy up setidle message sent to opers, to show the actual idle time set if the oper...
brain [Fri, 8 Sep 2006 16:03:18 +0000 (16:03 +0000)]
Tidy up setidle message sent to opers, to show the actual idle time set if the oper specifies a bunch of crap as a number

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

17 years agoMade SANICK not collide the user (theres no need to in the new 1.1 now we have return...
brain [Fri, 8 Sep 2006 16:01:36 +0000 (16:01 +0000)]
Made SANICK not collide the user (theres no need to in the new 1.1 now we have return values- there USED TO BE a need for it)

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

17 years agoReport invalid nicknames back to oper
brain [Fri, 8 Sep 2006 15:57:01 +0000 (15:57 +0000)]
Report invalid nicknames back to oper

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

17 years agoAdd failed SANICK notices
brain [Fri, 8 Sep 2006 15:53:24 +0000 (15:53 +0000)]
Add failed SANICK notices

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

17 years agoOnly put out SANICK success line if the nickchange succeeds
brain [Fri, 8 Sep 2006 15:52:41 +0000 (15:52 +0000)]
Only put out SANICK success line if the nickchange succeeds

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

17 years agoCorrectly put qline notices into xline snomask
brain [Fri, 8 Sep 2006 15:26:44 +0000 (15:26 +0000)]
Correctly put qline notices into xline snomask

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

17 years agoFix 'item not on list' output
brain [Fri, 8 Sep 2006 15:02:12 +0000 (15:02 +0000)]
Fix 'item not on list' output

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

17 years agoTypo in mode handler doesnt let -M be removed!
brain [Fri, 8 Sep 2006 14:30:29 +0000 (14:30 +0000)]
Typo in mode handler doesnt let -M be removed!

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

17 years agoAdd similar printf format fix to namesx
brain [Fri, 8 Sep 2006 14:27:39 +0000 (14:27 +0000)]
Add similar printf format fix to namesx

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

17 years agoExplicitly call the std::string version of WriteServ in chanrec::UserList to prevent...
brain [Fri, 8 Sep 2006 13:37:30 +0000 (13:37 +0000)]
Explicitly call the std::string version of WriteServ in chanrec::UserList to prevent string format accidents with users who have halfop (oooops)

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

17 years agoAllow QUIT to be used before we fully register the connection. This stops mirc from...
brain [Fri, 8 Sep 2006 13:28:17 +0000 (13:28 +0000)]
Allow QUIT to be used before we fully register the connection. This stops mirc from closing the connection thinking it has quit when inspircd has denied their QUIT command,
in theory the ghosts w00t and i saw would have timed out after 60 secs?

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

17 years ago*YOINK* Add jamie's patch for parameterized usermodes in m_opermodes (thanks)
brain [Fri, 8 Sep 2006 10:20:56 +0000 (10:20 +0000)]
*YOINK* Add jamie's patch for parameterized usermodes in m_opermodes (thanks)

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

17 years agouserrec::ForceNickChange was broken (not the entire nickchange system as i'd suspecte...
brain [Thu, 7 Sep 2006 20:56:10 +0000 (20:56 +0000)]
userrec::ForceNickChange was broken (not the entire nickchange system as i'd suspected at  first)

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

17 years ago1) Make earlier fix to inspsocket actually compile without error
brain [Thu, 7 Sep 2006 20:20:39 +0000 (20:20 +0000)]
1) Make earlier fix to inspsocket actually compile without error
2) Make sure that query string is sent back in the reply

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

17 years agoDelete the file descriptor upon write error to an inspsocket, preventing it eating...
brain [Thu, 7 Sep 2006 16:56:40 +0000 (16:56 +0000)]
Delete the file descriptor upon write error to an inspsocket, preventing it eating cpu with endless read events

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

17 years agoFix crashbug when /who'ing people who arent on a channel (chan->GetPrefixChar() when...
brain [Wed, 6 Sep 2006 22:24:39 +0000 (22:24 +0000)]
Fix crashbug when /who'ing people who arent on a channel (chan->GetPrefixChar() when chan == NULL is bad, mmk)

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

17 years agoForgot to return
brain [Wed, 6 Sep 2006 18:24:26 +0000 (18:24 +0000)]
Forgot to return

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

17 years agoFinish off the fix for bug #136 (a biggie for such a simple thing)
brain [Wed, 6 Sep 2006 18:20:02 +0000 (18:20 +0000)]
Finish off the fix for bug #136 (a biggie for such a simple thing)

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

17 years agoAll commands now return results CMD_FAILURE or CMD_SUCCESS
brain [Wed, 6 Sep 2006 17:58:59 +0000 (17:58 +0000)]
All commands now return results CMD_FAILURE or CMD_SUCCESS

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

17 years agoCommand result codes. This isnt finished yet, still got to do most of the modules...
brain [Wed, 6 Sep 2006 17:21:59 +0000 (17:21 +0000)]
Command result codes. This isnt finished yet, still got to do most of the modules, and alter CallCommandHandler

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

17 years agoJOIN now has a TS parameter on it. The client protocol will ignore this when we pass...
brain [Wed, 6 Sep 2006 11:28:53 +0000 (11:28 +0000)]
JOIN now has a TS parameter on it. The client protocol will ignore this when we pass it down to the command parser, it is for use if theres a minor desync and we send a PART for the last user at the same time the other side sends a JOIN for a new user, we can at least keep the TS in step.

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

17 years agoDrop and log unknown nicks in FJOIN, rather than aborting the link
brain [Wed, 6 Sep 2006 11:19:06 +0000 (11:19 +0000)]
Drop and log unknown nicks in FJOIN, rather than aborting the link

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

17 years agoWe were printing a command instead of exec'ing it :p
brain [Tue, 5 Sep 2006 23:34:15 +0000 (23:34 +0000)]
We were printing a command instead of exec'ing it :p

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

17 years agoNew CAPAB variable (manditory): PROTOCOL
brain [Tue, 5 Sep 2006 00:43:13 +0000 (00:43 +0000)]
New CAPAB variable (manditory): PROTOCOL

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

17 years agoThis is a complex one: when autoconnecting, we check each links failover, and try...
brain [Tue, 5 Sep 2006 00:19:35 +0000 (00:19 +0000)]
This is a complex one: when autoconnecting, we check each links failover, and try and FindServer it. If we find that link's failover in the network, we dont try and autoconnect it as it probably established a link to that via another route anyway.

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

17 years ago'Connection to %s closed' now says 'Connection to %s failed'
brain [Mon, 4 Sep 2006 23:39:26 +0000 (23:39 +0000)]
'Connection to %s closed' now says 'Connection to %s failed'

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

17 years agoCheck for failover pointing at self. This is an obvious thing to check for and prevent :)
brain [Mon, 4 Sep 2006 23:29:33 +0000 (23:29 +0000)]
Check for failover pointing at self. This is an obvious thing to check for and prevent :)

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

17 years agofailover connections are now added, thanks for the idea Lauren (happy now? lol) :)
brain [Mon, 4 Sep 2006 23:25:28 +0000 (23:25 +0000)]
failover connections are now added, thanks for the idea Lauren (happy now? lol) :)

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

17 years agoUpdate example conf with all the new stuff and more detailed comments
brain [Mon, 4 Sep 2006 03:06:00 +0000 (03:06 +0000)]
Update example conf with all the new stuff and more detailed comments

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

17 years agoCall X509_free() after we're done with the cert
brain [Sun, 3 Sep 2006 23:21:49 +0000 (23:21 +0000)]
Call X509_free() after we're done with the cert

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

17 years agoOutput the certificate hash to the user when they connect
brain [Sun, 3 Sep 2006 23:16:09 +0000 (23:16 +0000)]
Output the certificate hash to the user when they connect

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

17 years agoRemove some gunk
brain [Sun, 3 Sep 2006 22:56:13 +0000 (22:56 +0000)]
Remove some gunk

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

17 years agoDocument <oper:fingerprint>
brain [Sun, 3 Sep 2006 22:33:48 +0000 (22:33 +0000)]
Document <oper:fingerprint>

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

17 years agoChanged how this module works.
brain [Sun, 3 Sep 2006 22:19:43 +0000 (22:19 +0000)]
Changed how this module works.
It now uses a password in combination with a fingerprint.

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

17 years agoCheck for people trying to literally put the fingerprint in as a pass
brain [Sun, 3 Sep 2006 22:05:54 +0000 (22:05 +0000)]
Check for people trying to literally put the fingerprint in as a pass

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

17 years agoRemoval of debug
brain [Sun, 3 Sep 2006 22:00:48 +0000 (22:00 +0000)]
Removal of debug

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

17 years agoAdd comments to document this header
brain [Sun, 3 Sep 2006 21:55:20 +0000 (21:55 +0000)]
Add comments to document this header

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

17 years agoDocument the two new modules
brain [Sun, 3 Sep 2006 21:47:03 +0000 (21:47 +0000)]
Document the two new modules

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

17 years agoYAY! A module which allows a user to oper via their ssl key fingerprint.
brain [Sun, 3 Sep 2006 21:38:29 +0000 (21:38 +0000)]
YAY! A module which allows a user to oper via their ssl key fingerprint.
This is largely untested stuff here, be careful with it. Use /fingerprint to get the user's fingerprint (or ask them for it) and then put the fingerprint into the password field of their oper block.

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