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

17 years agoRemove a ton of debug
brain [Sun, 3 Sep 2006 20:43:33 +0000 (20:43 +0000)]
Remove a ton of debug

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

17 years agoAll but cert revocation is now supported by both modules
brain [Sun, 3 Sep 2006 20:42:16 +0000 (20:42 +0000)]
All but cert revocation is now supported by both modules

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

17 years agoDont report that the key has expired when it hasnt
brain [Sun, 3 Sep 2006 20:25:09 +0000 (20:25 +0000)]
Dont report that the key has expired when it hasnt

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

17 years agoOpenSSL gets certs and populates the ssl_cert* now!
brain [Sun, 3 Sep 2006 20:20:51 +0000 (20:20 +0000)]
OpenSSL gets certs and populates the ssl_cert* now!
(NOTE: This is not finished by a long shot, because openssl and gnutls generate slightly different format of DN - although, the fingerprint will always match if its the same user :))

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

17 years agoWe now have a test module that can dump someones certificate information: /sslinfo...
brain [Sun, 3 Sep 2006 18:57:16 +0000 (18:57 +0000)]
We now have a test module that can dump someones certificate information: /sslinfo <nick>

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

17 years agoCertificate stuff
brain [Sun, 3 Sep 2006 18:26:34 +0000 (18:26 +0000)]
Certificate stuff

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

17 years agoObtaining of ssl cert in gnutls module and placing it into a class which is extended...
brain [Sun, 3 Sep 2006 17:29:29 +0000 (17:29 +0000)]
Obtaining of ssl cert in gnutls module and placing it into a class which is extended to the user, type ssl_cert.
In a while the openssl module will also populate this same high level class with data

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

17 years agoProper error checking on loading cmd_*.so files
brain [Sun, 3 Sep 2006 00:58:09 +0000 (00:58 +0000)]
Proper error checking on loading cmd_*.so files

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

17 years agoRemove the shared object pointer from the hash after each reload
brain [Sun, 3 Sep 2006 00:48:12 +0000 (00:48 +0000)]
Remove the shared object pointer from the hash after each reload

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

17 years agoForgot to copy cmd_mode.so
brain [Sun, 3 Sep 2006 00:46:26 +0000 (00:46 +0000)]
Forgot to copy cmd_mode.so

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

17 years agoAdd /RELOAD and move cmd_mode into its own command.
brain [Sun, 3 Sep 2006 00:44:11 +0000 (00:44 +0000)]
Add /RELOAD and move cmd_mode into its own command.
/RELOAD is the only thing you cant reload (ahem)

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

17 years agoAuto loading of commands as shared objects via dlsym (very lightweight interface...
brain [Sun, 3 Sep 2006 00:09:38 +0000 (00:09 +0000)]
Auto loading of commands as shared objects via dlsym (very lightweight interface, just expects a command_t* pointer)

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

17 years agocmd_* files are now shared object. This lets make -j optimize the build process a...
brain [Sat, 2 Sep 2006 23:06:14 +0000 (23:06 +0000)]
cmd_* files are now shared object. This lets make -j optimize the build process a little better (it doesnt have to wait for the cmd_ files to finish so it can link commands.cpp against them), and it makes libIRCDcommands.so not be 20mb in size (which might hit file size limits on some shell hosters)

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

17 years agoGive this module VF_COMMON, as services depend on it
brain [Sat, 2 Sep 2006 20:47:03 +0000 (20:47 +0000)]
Give this module VF_COMMON, as services depend on it

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

17 years agoOnly VF_COMMON modules are sent in CAPAB now, not VF_STATIC
brain [Sat, 2 Sep 2006 18:04:09 +0000 (18:04 +0000)]
Only VF_COMMON modules are sent in CAPAB now, not VF_STATIC

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

17 years agoDoesnt need VF_STATIC
brain [Sat, 2 Sep 2006 18:03:02 +0000 (18:03 +0000)]
Doesnt need VF_STATIC

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

17 years agoComments
brain [Sat, 2 Sep 2006 17:41:36 +0000 (17:41 +0000)]
Comments

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

17 years agoActually make +ovhk removable with DelMode (just in case somebody wants to, or we...
brain [Sat, 2 Sep 2006 17:40:33 +0000 (17:40 +0000)]
Actually make +ovhk removable with DelMode (just in case somebody wants to, or we have need to in the future)

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

17 years agoBecause these modes take no parameter when being removed, they need no special code...
brain [Sat, 2 Sep 2006 16:53:01 +0000 (16:53 +0000)]
Because these modes take no parameter when being removed, they need no special code for ModeHandler::RemoveMode()

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

17 years agoActually let it be unloaded would be a start (remove VF_STATIC)
brain [Sat, 2 Sep 2006 16:45:40 +0000 (16:45 +0000)]
Actually let it be unloaded would be a start (remove VF_STATIC)

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

17 years agoAllow unloading of +qa
brain [Sat, 2 Sep 2006 16:44:38 +0000 (16:44 +0000)]
Allow unloading of +qa

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

17 years agoAnd this (i guess it once tested mode stuff)
brain [Sat, 2 Sep 2006 16:34:45 +0000 (16:34 +0000)]
And this (i guess it once tested mode stuff)

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

17 years agoSo was this...
brain [Sat, 2 Sep 2006 16:34:16 +0000 (16:34 +0000)]
So was this...

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

17 years agoFor some reason this was VF_STATIC
brain [Sat, 2 Sep 2006 16:33:18 +0000 (16:33 +0000)]
For some reason this was VF_STATIC

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

17 years agoDon't try and delete from the item list whilst iterating it - make a copy instead
brain [Sat, 2 Sep 2006 16:31:59 +0000 (16:31 +0000)]
Don't try and delete from the item list whilst iterating it - make a copy instead
All modules using u_listmode.h are now unloadable (thats 3 more down)

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

17 years agoDon't use oncleanup to remove listmode lists
brain [Sat, 2 Sep 2006 16:27:02 +0000 (16:27 +0000)]
Don't use oncleanup to remove listmode lists

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

17 years agobanexception, chanfilter and inviteexception should now be unloadable :)
brain [Sat, 2 Sep 2006 16:13:01 +0000 (16:13 +0000)]
banexception, chanfilter and inviteexception should now be unloadable :)

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

17 years agoAll modules which implement simplemodes (no parameters, not a list mode) can now...
brain [Sat, 2 Sep 2006 16:02:35 +0000 (16:02 +0000)]
All modules which implement simplemodes (no parameters, not a list mode) can now be UNLOADED O_o

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

17 years agoAny modules which were using VF_STATIC to indicate they implement a mode should chang...
brain [Sat, 2 Sep 2006 15:51:29 +0000 (15:51 +0000)]
Any modules which were using VF_STATIC to indicate they implement a mode should change this to VF_COMMON once they have the correct unload code

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

17 years agoAllow unloading of modules which implement modes!
brain [Sat, 2 Sep 2006 15:50:29 +0000 (15:50 +0000)]
Allow unloading of modules which implement modes!
The default implementation of the new system will remove simplemodes so any mode handler which is just a simple mode (no params and not a list mode) does not need to add much more than one line of code and remove its VF_STATIC flag.

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