]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
16 years agoSpecial check in here now that forbids all use of MODE in s2s for changing channel...
brain [Tue, 1 Apr 2008 16:48:52 +0000 (16:48 +0000)]
Special check in here now that forbids all use of MODE in s2s for changing channel modes, closing a loophole that services devs keep using to bypass implenting proper TS, and breaking our protocol.

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

16 years agoRemove this, it won't work (reliably), use ModeParser::ModeString() instead, ta B
w00t [Tue, 1 Apr 2008 16:30:49 +0000 (16:30 +0000)]
Remove this, it won't work (reliably), use ModeParser::ModeString() instead, ta B

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

16 years agoAdd an optional bool to ModeParser::ModeString() to not give the nickname n times...
brain [Tue, 1 Apr 2008 16:25:02 +0000 (16:25 +0000)]
Add an optional bool to ModeParser::ModeString() to not give the nickname n times on the end of the string. This can be used for w00ts funky stuff. :-)

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

16 years agoConfigurable prefixes for chanmodes +qa: prefixes can be turned on or off individuall...
w00t [Tue, 1 Apr 2008 13:53:27 +0000 (13:53 +0000)]
Configurable prefixes for chanmodes +qa: prefixes can be turned on or off individually and seperately, per server as well as per mode, and prefixes are no longer limited to ~&. *** SERVICES AUTHORS *** This involves a protocol change. FJOIN now sends the userlist with format modes,nick instead of prefixes,nick.

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

16 years agoAdd a required prefix of 0, this may fix problem encountered by Raff7.. (purely cosme...
w00t [Tue, 1 Apr 2008 11:13:36 +0000 (11:13 +0000)]
Add a required prefix of 0, this may fix problem encountered by Raff7.. (purely cosmetic, though, as the internal code for +qa had checks on who could set it aside from prefix-only.. brain, can you review this and tell me if this is correct pls?

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

16 years agofix a few warnings by casting since thats the only way to be sure non native C types...
peavey [Mon, 31 Mar 2008 13:09:29 +0000 (13:09 +0000)]
fix a few warnings by casting since thats the only way to be sure non native C types matches their format tokens.

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

16 years agoPatch by brain; Fix crash when no parameters are given when introducing a remote...
special [Mon, 31 Mar 2008 08:54:10 +0000 (08:54 +0000)]
Patch by brain; Fix crash when no parameters are given when introducing a remote client and add encap to the windows project

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

16 years agoFix two format warnings, dont you DARE tell me size_t varies in size too.
brain [Mon, 31 Mar 2008 00:47:13 +0000 (00:47 +0000)]
Fix two format warnings, dont you DARE tell me size_t varies in size too.

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

16 years agoRemove extended silence doc
w00t [Sun, 30 Mar 2008 23:51:19 +0000 (23:51 +0000)]
Remove extended silence doc

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

16 years agoFix this name
w00t [Sun, 30 Mar 2008 23:50:42 +0000 (23:50 +0000)]
Fix this name

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

16 years agoAdd SVSSILENCE: allows services to modify SILENCE lists of users. todo note in there...
w00t [Sun, 30 Mar 2008 23:13:47 +0000 (23:13 +0000)]
Add SVSSILENCE: allows services to modify SILENCE lists of users. todo note in there, don't know if anyone wants to comment..

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

16 years agoMove _ext to replace the original, SVSSILENCE comes next
w00t [Sun, 30 Mar 2008 23:04:00 +0000 (23:04 +0000)]
Move _ext to replace the original, SVSSILENCE comes next

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

16 years agoRemove m_silence: this is 1.2 only. m_silence_ext is a fully backwards compatible...
w00t [Sun, 30 Mar 2008 23:03:24 +0000 (23:03 +0000)]
Remove m_silence: this is 1.2 only. m_silence_ext is a fully backwards compatible copy of silence, with some additional features that have no impact on usage etc, so it makes no real sense to bloat out the compile like this

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

16 years agoMake sure CAPAB always comes before SERVER on either side of the link at all times
brain [Sun, 30 Mar 2008 22:42:42 +0000 (22:42 +0000)]
Make sure CAPAB always comes before SERVER on either side of the link at all times

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

16 years agoAWAY notification for WATCH. Numerics are now sent out when a user goes away (or...
w00t [Sun, 30 Mar 2008 15:33:33 +0000 (15:33 +0000)]
AWAY notification for WATCH. Numerics are now sent out when a user goes away (or returns from AWAY), as well as in WATCH L (if the user is online and away).

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

16 years agoMore docs on data structures
w00t [Sun, 30 Mar 2008 14:47:29 +0000 (14:47 +0000)]
More docs on data structures

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

16 years agoFixy
brain [Sun, 30 Mar 2008 14:39:14 +0000 (14:39 +0000)]
Fixy

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

16 years agoChange this return type to int from void. WHY didn't this error for me.
w00t [Sun, 30 Mar 2008 14:32:44 +0000 (14:32 +0000)]
Change this return type to int from void. WHY didn't this error for me.

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

16 years agoMerge OnCancelAway and OnSetAway, add param awaymsg to OnSetAway (blank when cancelli...
w00t [Sun, 30 Mar 2008 14:26:01 +0000 (14:26 +0000)]
Merge OnCancelAway and OnSetAway, add param awaymsg to OnSetAway (blank when cancelling), and change return type to int so modules can block away messages by returning nonzero.

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

16 years agoWhack format warning, do these differ between gcc versions or something?!
brain [Sun, 30 Mar 2008 14:23:17 +0000 (14:23 +0000)]
Whack format warning, do these differ between gcc versions or something?!

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

16 years agodocument override in operjoin.
peavey [Sun, 30 Mar 2008 10:51:39 +0000 (10:51 +0000)]
document override in operjoin.

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

16 years agoAdd override option to operjoin, handy if your operchan has a key or is invite only.
peavey [Sun, 30 Mar 2008 10:48:26 +0000 (10:48 +0000)]
Add override option to operjoin, handy if your operchan has a key or is invite only.

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

16 years agowhack a couple of format warnings now showing with r9217
peavey [Sun, 30 Mar 2008 10:19:10 +0000 (10:19 +0000)]
whack a couple of format warnings now showing with r9217

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

16 years agoCommit -Wformat=2 -Wmissing-format-attributes, printf-like functions in inspircd...
aquanight [Sun, 30 Mar 2008 02:48:54 +0000 (02:48 +0000)]
Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in inspircd now get treated like printf (meaning compile-time check goodness) in GCC

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

16 years agoThe bug we fixed for bug #506 may still occur in trunk if a module adjusts the nick...
brain [Sun, 30 Mar 2008 02:39:38 +0000 (02:39 +0000)]
The bug we fixed for bug #506 may still occur in trunk if a module adjusts the nick and prefix output in the same way via OnNamesListItem, so we really should apply a similar fix here too

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

16 years agoTest commit. .coders now has CIA (instant notification) and the other channels that...
brain [Sat, 29 Mar 2008 20:26:35 +0000 (20:26 +0000)]
Test commit. .coders now has CIA (instant notification) and the other channels that need to be informed when its available on the public svn get PostBot.

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

16 years agoUnknown as to if the old code works
brain [Sat, 29 Mar 2008 20:16:09 +0000 (20:16 +0000)]
Unknown as to if the old code works

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

16 years agoDocument
brain [Sat, 29 Mar 2008 18:33:08 +0000 (18:33 +0000)]
Document

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

16 years agoAdd support for <sqloper:hash> value, references 'md5', 'sha256' and finds the requir...
brain [Sat, 29 Mar 2008 18:31:50 +0000 (18:31 +0000)]
Add support for <sqloper:hash> value, references 'md5', 'sha256' and finds the required provider

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

16 years agoUse the right pass
brain [Sat, 29 Mar 2008 18:16:02 +0000 (18:16 +0000)]
Use the right pass

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

16 years agoAllow freeform queries. Allow $nick, $host, $ip, $pass, $md5pass and $sha256pass...
brain [Sat, 29 Mar 2008 18:10:31 +0000 (18:10 +0000)]
Allow freeform queries. Allow $nick, $host, $ip, $pass, $md5pass and $sha256pass in the query. Ability of md5pass and sha256pass variables is dependent upon presence of m_sha256.so or m_md5.so.

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

16 years agoCast this to const unsigned char, not just unsigned char. We don't/can't modify them...
w00t [Sat, 29 Mar 2008 16:03:26 +0000 (16:03 +0000)]
Cast this to const unsigned char, not just unsigned char. We don't/can't modify them, and this avoids a warning on some compilers.

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

16 years agogit-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9201 e03df62e-2008...
w00t [Fri, 28 Mar 2008 16:32:56 +0000 (16:32 +0000)]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9201 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoWrong place probably
w00t [Fri, 28 Mar 2008 15:01:34 +0000 (15:01 +0000)]
Wrong place probably

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

16 years agoDon't desync when blanking metadata with remote servers (seperate bug)
w00t [Fri, 28 Mar 2008 14:45:12 +0000 (14:45 +0000)]
Don't desync when blanking metadata with remote servers (seperate bug)

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

16 years agoDon't desync when setting swhois
w00t [Fri, 28 Mar 2008 14:43:49 +0000 (14:43 +0000)]
Don't desync when setting swhois

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

16 years agoForwardport r9195
w00t [Fri, 28 Mar 2008 09:51:51 +0000 (09:51 +0000)]
Forwardport r9195

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

16 years agoThanks danieldg
brain [Thu, 27 Mar 2008 16:17:57 +0000 (16:17 +0000)]
Thanks danieldg

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

16 years agoAllow activation of TLS via STARTTLS even if CAP REQ tls isnt given, so that CAP...
brain [Mon, 24 Mar 2008 17:04:02 +0000 (17:04 +0000)]
Allow activation of TLS via STARTTLS even if CAP REQ tls isnt given, so that CAP can be overridden if needed in testing

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

16 years agoShould now work with ports bound to all interfaces
brain [Mon, 24 Mar 2008 17:01:50 +0000 (17:01 +0000)]
Should now work with ports bound to all interfaces

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

16 years agoA load of classes dont inherit from classbase, and they should. fix.
brain [Mon, 24 Mar 2008 16:53:34 +0000 (16:53 +0000)]
A load of classes dont inherit from classbase, and they should. fix.

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

16 years agoThis module uses io hooking too, fix it up
brain [Mon, 24 Mar 2008 16:24:52 +0000 (16:24 +0000)]
This module uses io hooking too, fix it up

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

16 years agoopenssl should now work too
brain [Mon, 24 Mar 2008 16:12:27 +0000 (16:12 +0000)]
openssl should now work too

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

16 years agoPort bindings for gnutls now bind via ip:port, rather than on all ports for that...
brain [Mon, 24 Mar 2008 16:03:39 +0000 (16:03 +0000)]
Port bindings for gnutls now bind via ip:port, rather than on all ports for that ip, fixes feature request for roadmap. NOTE, this still needs doing for the openssl module!

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

16 years agoAdd stuff so that modules can hook users by altering a pointer in the User class...
brain [Mon, 24 Mar 2008 15:13:17 +0000 (15:13 +0000)]
Add stuff so that modules can hook users by altering a pointer in the User class. Note that ssl modules still bind by port, but the idea of doing this change is so we can remove that logic next

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

16 years agoAnd more of them
brain [Mon, 24 Mar 2008 13:41:25 +0000 (13:41 +0000)]
And more of them

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

16 years agoFinally change all the Version() objects
brain [Mon, 24 Mar 2008 13:40:12 +0000 (13:40 +0000)]
Finally change all the Version() objects

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

16 years agoWheeeeee
brain [Mon, 24 Mar 2008 13:35:49 +0000 (13:35 +0000)]
Wheeeeee

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

16 years agoCAP TLS now implemented, this needs someone to make a client to test it :p
brain [Sun, 23 Mar 2008 22:57:27 +0000 (22:57 +0000)]
CAP TLS now implemented, this needs someone to make a client to test it :p

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

16 years agoClean up user/chan modes on deoper, fix memsets off-by-1, delete[] properly in destructor
aquanight [Sun, 23 Mar 2008 21:36:16 +0000 (21:36 +0000)]
Clean up user/chan modes on deoper, fix memsets off-by-1, delete[] properly in destructor

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

16 years agoThese memsets cant rely on sizeof() any more, afaik. The sizeof() would give 4 or...
brain [Sun, 23 Mar 2008 21:20:36 +0000 (21:20 +0000)]
These memsets cant rely on sizeof() any more, afaik. The sizeof() would give 4 or 8, size of the pointer :)

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

16 years agoWhoops, take out some foolish memsets (well theyre foolish now :p)
brain [Sun, 23 Mar 2008 21:18:32 +0000 (21:18 +0000)]
Whoops, take out some foolish memsets (well theyre foolish now :p)

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

16 years agoThis should save 128 bytes per user for non-opers. Well worth it imho for a reasonabl...
brain [Sun, 23 Mar 2008 21:12:36 +0000 (21:12 +0000)]
This should save 128 bytes per user for non-opers. Well worth it imho for a reasonably large amount of unused ram.

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

16 years agoDocument aquanight's new stuff :)
brain [Sun, 23 Mar 2008 21:04:01 +0000 (21:04 +0000)]
Document aquanight's new stuff :)

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

16 years agoFix configure -svnupdate not bailing if conflicts occur.
aquanight [Sun, 23 Mar 2008 20:46:10 +0000 (20:46 +0000)]
Fix configure -svnupdate not bailing if conflicts occur.

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

16 years agoAdd ability to control what opertypes can set what operonly user/chan modes. This...
aquanight [Sun, 23 Mar 2008 20:43:35 +0000 (20:43 +0000)]
Add ability to control what opertypes can set what operonly user/chan modes. This works the same way as commands, in that modes allowed by classes are added together, and * allows all.

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

16 years agoWheeee for HUGE commits. Convert all numerics to WriteNumeric so that OnNumeric can...
brain [Sat, 22 Mar 2008 12:03:43 +0000 (12:03 +0000)]
Wheeee for HUGE commits. Convert all numerics to WriteNumeric so that OnNumeric can capture them.

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

16 years agoAdd WriteNumeric() to User and OnNumeric module event. Note that modules do not chang...
brain [Sat, 22 Mar 2008 11:45:57 +0000 (11:45 +0000)]
Add WriteNumeric() to User and OnNumeric module event. Note that modules do not change the numeric text on the fly, as this involves needless allocations for numerics that arent being changed, so instead they block the original numeric and send out their own when needed.

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

16 years agoFix memory leak if user quits in the middle of sasl AUTHENTICATE steps
brain [Sat, 22 Mar 2008 02:05:51 +0000 (02:05 +0000)]
Fix memory leak if user quits in the middle of sasl AUTHENTICATE steps

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

16 years agoAdd abort fix
brain [Sat, 22 Mar 2008 01:59:01 +0000 (01:59 +0000)]
Add abort fix

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

16 years agoThis works now! (well im sure we'll find something else broken) -- thanks nenolod :)
brain [Sat, 22 Mar 2008 01:37:55 +0000 (01:37 +0000)]
This works now! (well im sure we'll find something else broken) -- thanks nenolod :)

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

16 years agoFix for compile error
brain [Sat, 22 Mar 2008 00:14:53 +0000 (00:14 +0000)]
Fix for compile error

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

16 years ago'AUTHENTICATE C'? Why not authenticate C++ :)
brain [Sat, 22 Mar 2008 00:13:18 +0000 (00:13 +0000)]
'AUTHENTICATE C'? Why not authenticate C++ :)

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

16 years agoPatch for IAL abort sequence from nenolod
brain [Sat, 22 Mar 2008 00:09:03 +0000 (00:09 +0000)]
Patch for IAL abort sequence from nenolod

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

16 years agoRemoval of server prefix from AUTHENTICATE reply, patch courtesy of nenolod
brain [Fri, 21 Mar 2008 23:51:02 +0000 (23:51 +0000)]
Removal of server prefix from AUTHENTICATE reply, patch courtesy of nenolod

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

16 years agoPatch from nenolod
brain [Fri, 21 Mar 2008 23:43:09 +0000 (23:43 +0000)]
Patch from nenolod

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

16 years agoAdd debug
brain [Fri, 21 Mar 2008 23:33:39 +0000 (23:33 +0000)]
Add debug

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

16 years agoFix recommended by nenolod, silly mistake apparently :P
brain [Fri, 21 Mar 2008 23:27:45 +0000 (23:27 +0000)]
Fix recommended by nenolod, silly mistake apparently :P

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

16 years agoSasl stuff from nenolod, with a bit of luck this is closer to the charybdis implement...
brain [Fri, 21 Mar 2008 23:24:19 +0000 (23:24 +0000)]
Sasl stuff from nenolod, with a bit of luck this is closer to the charybdis implementation

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

16 years agoOnly valid targets for encap are now server ids
brain [Fri, 21 Mar 2008 23:07:33 +0000 (23:07 +0000)]
Only valid targets for encap are now server ids

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

16 years agoFix encap bug, when a target is wildcard we shouldnt abort propogating
brain [Fri, 21 Mar 2008 22:41:38 +0000 (22:41 +0000)]
Fix encap bug, when a target is wildcard we shouldnt abort propogating

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

16 years agoThat stuff belongs in OnPostconnect or it will be sent too early
brain [Fri, 21 Mar 2008 21:03:39 +0000 (21:03 +0000)]
That stuff belongs in OnPostconnect or it will be sent too early

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

16 years agoWhen a user registers and SASL has given them accountname metadata push this metadata...
brain [Fri, 21 Mar 2008 21:01:56 +0000 (21:01 +0000)]
When a user registers and SASL has given them accountname metadata push this metadata out on registration.

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

16 years agoAdd return value
brain [Fri, 21 Mar 2008 20:55:07 +0000 (20:55 +0000)]
Add return value

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

16 years agoAdd 906, sasl aborted
brain [Fri, 21 Mar 2008 20:54:46 +0000 (20:54 +0000)]
Add 906, sasl aborted

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

16 years agoDon't send 'sasl successful' numeric on re-identifications after registration
brain [Fri, 21 Mar 2008 20:28:11 +0000 (20:28 +0000)]
Don't send 'sasl successful' numeric on re-identifications after registration

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

16 years agoRejig numerics to not step on the 90x range for SASL
brain [Fri, 21 Mar 2008 20:26:35 +0000 (20:26 +0000)]
Rejig numerics to not step on the 90x range for SASL

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

16 years agoIf the user hasnt sent CAP REQ sasl, do nothing if AUTHENTICATE is sent by that user
brain [Fri, 21 Mar 2008 20:24:15 +0000 (20:24 +0000)]
If the user hasnt sent CAP REQ sasl, do nothing if AUTHENTICATE is sent by that user

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

16 years agoGenerate warning if m_services_account.so and m_cap.so are not loaded with m_sasl...
brain [Fri, 21 Mar 2008 20:22:26 +0000 (20:22 +0000)]
Generate warning if m_services_account.so and m_cap.so are not loaded with m_sasl.so to log file. Tidy up debug output.

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

16 years agoForgot to commit this
brain [Fri, 21 Mar 2008 20:12:37 +0000 (20:12 +0000)]
Forgot to commit this

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

16 years agoWhoops, forgot to tie ENCAP into receiver in treesocket
brain [Fri, 21 Mar 2008 20:04:46 +0000 (20:04 +0000)]
Whoops, forgot to tie ENCAP into receiver in treesocket

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

16 years agoThis seems to play nice now, but it seems we may have to redo it all AGAIN :(
brain [Fri, 21 Mar 2008 19:58:49 +0000 (19:58 +0000)]
This seems to play nice now, but it seems we may have to redo it all AGAIN :(

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

16 years agoAdd capability for m_services_account to broadcast login events, with the user who...
brain [Fri, 21 Mar 2008 19:42:08 +0000 (19:42 +0000)]
Add capability for m_services_account to broadcast login events, with the user who is logging in and their login name

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

16 years agoPatch to change MODULES numerics, so we dont get a collision when using AUTHENTICATE...
brain [Fri, 21 Mar 2008 19:31:42 +0000 (19:31 +0000)]
Patch to change MODULES numerics, so we dont get a collision when using AUTHENTICATE. Thanks nenolod.

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

16 years agoNot finished yet. currently, this passes AUTHENTICATE messages to and from services...
brain [Fri, 21 Mar 2008 19:30:50 +0000 (19:30 +0000)]
Not finished yet. currently, this passes AUTHENTICATE messages to and from services and a client using ENCAP, and makes itself available via CAP

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

16 years agoENCAP stuff
brain [Fri, 21 Mar 2008 18:52:54 +0000 (18:52 +0000)]
ENCAP stuff

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

16 years agoAdd support for CAP in uhnames, it has the token 'userhost-in-names'. Comments welcome.
brain [Fri, 21 Mar 2008 16:23:55 +0000 (16:23 +0000)]
Add support for CAP in uhnames, it has the token 'userhost-in-names'. Comments welcome.
Add a function to m_cap.h, "GenericCapHandler" which allows a one-line definition of a CAP token that just adds a metadata tag, as used by NAMESX and UHNAMES. Saves code duplication.

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

16 years agoConvert to new api
brain [Fri, 21 Mar 2008 16:17:03 +0000 (16:17 +0000)]
Convert to new api

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

16 years agoconvert to new api
brain [Fri, 21 Mar 2008 16:12:07 +0000 (16:12 +0000)]
convert to new api

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

16 years agoRemove Prioritize(), no longer needed
brain [Fri, 21 Mar 2008 16:09:14 +0000 (16:09 +0000)]
Remove Prioritize(), no longer needed

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

16 years agoMake m_auditorium use the new api (this is MUCH easier to understand)
brain [Fri, 21 Mar 2008 16:08:39 +0000 (16:08 +0000)]
Make m_auditorium use the new api (this is MUCH easier to understand)

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

16 years agoAdd support for OnNamesListItem, discussed with w00t a few days ago. This makes NAMES...
brain [Fri, 21 Mar 2008 15:54:15 +0000 (15:54 +0000)]
Add support for OnNamesListItem, discussed with w00t a few days ago. This makes NAMESX etc a LOT cleaner and safer.

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

16 years agoRicer up AllModulesReportReady further. If one fails, all fail, so returning false...
peavey [Wed, 19 Mar 2008 14:56:45 +0000 (14:56 +0000)]
Ricer up AllModulesReportReady further. If one fails, all fail, so returning false on first fail will save subsequent reduntant calls.

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

16 years agoAnd one more tweak to this.
peavey [Wed, 19 Mar 2008 01:35:11 +0000 (01:35 +0000)]
And one more tweak to this.

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

16 years agoFix OnUserRegister() not getting called for if USER sent before NICK on registration.
peavey [Wed, 19 Mar 2008 01:33:42 +0000 (01:33 +0000)]
Fix OnUserRegister() not getting called for if USER sent before NICK on registration.

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

16 years agoFinal tweak to AllModulesReportReady, should be there now.
peavey [Wed, 19 Mar 2008 01:22:36 +0000 (01:22 +0000)]
Final tweak to AllModulesReportReady, should be there now.

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

16 years agoNak vector thing
brain [Wed, 19 Mar 2008 00:35:16 +0000 (00:35 +0000)]
Nak vector thing

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

16 years agoDamnit, its right now. im going to bed
brain [Wed, 19 Mar 2008 00:25:25 +0000 (00:25 +0000)]
Damnit, its right now. im going to bed

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

16 years agoWhoops, and dont get the comparison backwards. dont look at me like that, its almost...
brain [Wed, 19 Mar 2008 00:23:51 +0000 (00:23 +0000)]
Whoops, and dont get the comparison backwards. dont look at me like that, its almost 3am :p

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

16 years agoSilly silly, AllModulesReportReady returns true when ONE module reports ready. Fixed...
brain [Wed, 19 Mar 2008 00:19:29 +0000 (00:19 +0000)]
Silly silly, AllModulesReportReady returns true when ONE module reports ready. Fixed here :p

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