w00t
|
86c2b7abf7
|
Remove call to FlushWriteBuffer from BufferedSocket::Write(), this means we don't try write() pointlessly when we may very well not (chewing CPU), and instead waits for the socketengine to tell us we can write. Tested, works fine. (nothing used this return value anyway)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9247 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-04-01 18:56:31 +00:00 |
|
w00t
|
6953371f71
|
Remove deprecated BufferedSocket::MarkAsClosed()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9246 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-04-01 18:34:34 +00:00 |
|
brain
|
de35a20ab7
|
Some metadata commands were using nicknames to identify the nick to apply the metadata to. fix to use uuid. Also make sure that the ssl metadata is sent after the user is done connecting (prioritize that event after spanningtree's)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9245 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-04-01 18:14:36 +00:00 |
|
brain
|
29dc6c70d7
|
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
|
2008-04-01 16:48:52 +00:00 |
|
w00t
|
1fe8085c6d
|
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
|
2008-04-01 16:30:49 +00:00 |
|
brain
|
5b4e92cc2c
|
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
|
2008-04-01 16:25:02 +00:00 |
|
w00t
|
1f9ef40812
|
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
|
2008-04-01 13:53:27 +00:00 |
|
w00t
|
beaaee86df
|
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
|
2008-04-01 11:13:36 +00:00 |
|
peavey
|
75b1e01d41
|
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
|
2008-03-31 13:09:29 +00:00 |
|
special
|
977ebb080b
|
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
|
2008-03-31 08:54:10 +00:00 |
|
brain
|
5017322a4f
|
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
|
2008-03-31 00:47:13 +00:00 |
|
w00t
|
a0e4983cee
|
Remove extended silence doc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9234 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-03-30 23:51:19 +00:00 |
|
w00t
|
7fffee4db8
|
Fix this name
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9233 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-03-30 23:50:42 +00:00 |
|
w00t
|
262703207a
|
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
|
2008-03-30 23:13:47 +00:00 |
|
w00t
|
3c8b0ea13b
|
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
|
2008-03-30 23:04:00 +00:00 |
|
w00t
|
24fa2afa62
|
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
|
2008-03-30 23:03:24 +00:00 |
|
brain
|
b3d33859b1
|
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
|
2008-03-30 22:42:42 +00:00 |
|
w00t
|
d48726ce80
|
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
|
2008-03-30 15:33:33 +00:00 |
|
w00t
|
6c31213a38
|
More docs on data structures
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9226 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-03-30 14:47:29 +00:00 |
|
brain
|
dcc778ed46
|
Fixy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9225 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-03-30 14:39:14 +00:00 |
|
w00t
|
3e2ef1c9ff
|
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
|
2008-03-30 14:32:44 +00:00 |
|
w00t
|
e2f4bf3a13
|
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
|
2008-03-30 14:26:01 +00:00 |
|
brain
|
d65f2c3825
|
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
|
2008-03-30 14:23:17 +00:00 |
|
peavey
|
07b73575c5
|
document override in operjoin.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9220 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-03-30 10:51:39 +00:00 |
|
peavey
|
0b1775f8cf
|
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
|
2008-03-30 10:48:26 +00:00 |
|
peavey
|
38c8b9290e
|
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
|
2008-03-30 10:19:10 +00:00 |
|
aquanight
|
58385dd458
|
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
|
2008-03-30 02:48:54 +00:00 |
|
brain
|
bca70575cb
|
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
|
2008-03-30 02:39:38 +00:00 |
|
brain
|
1e7813c422
|
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
|
2008-03-29 20:26:35 +00:00 |
|
brain
|
30582573b8
|
Unknown as to if the old code works
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9213 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-03-29 20:16:09 +00:00 |
|
brain
|
9ee32de0a2
|
Document
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9212 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-03-29 18:33:08 +00:00 |
|
brain
|
2bb784a346
|
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
|
2008-03-29 18:31:50 +00:00 |
|
brain
|
af789aefbb
|
Use the right pass
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9210 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-03-29 18:16:02 +00:00 |
|
brain
|
235168b93f
|
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
|
2008-03-29 18:10:31 +00:00 |
|
w00t
|
f41c42368d
|
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
|
2008-03-29 16:03:26 +00:00 |
|
w00t
|
fe7aa42673
|
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9201 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-03-28 16:32:56 +00:00 |
|
w00t
|
d85e091d50
|
Wrong place probably
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9200 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-03-28 15:01:34 +00:00 |
|
w00t
|
34f7d0bc1b
|
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
|
2008-03-28 14:45:12 +00:00 |
|
w00t
|
256fd772c6
|
Don't desync when setting swhois
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9198 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-03-28 14:43:49 +00:00 |
|
w00t
|
f0bd343e64
|
Forwardport r9195
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9196 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-03-28 09:51:51 +00:00 |
|
brain
|
6c99a01008
|
Thanks danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9194 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-03-27 16:17:57 +00:00 |
|
brain
|
6a64f0f3f0
|
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
|
2008-03-24 17:04:02 +00:00 |
|
brain
|
e588fdca3b
|
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
|
2008-03-24 17:01:50 +00:00 |
|
brain
|
4f946291b7
|
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
|
2008-03-24 16:53:34 +00:00 |
|
brain
|
d1b20f9519
|
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
|
2008-03-24 16:24:52 +00:00 |
|
brain
|
3b358271dd
|
openssl should now work too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9189 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-03-24 16:12:27 +00:00 |
|
brain
|
43d1577839
|
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
|
2008-03-24 16:03:39 +00:00 |
|
brain
|
343f12b9b2
|
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
|
2008-03-24 15:13:17 +00:00 |
|
brain
|
638381c529
|
And more of them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9186 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-03-24 13:41:25 +00:00 |
|
brain
|
c2957516bc
|
Finally change all the Version() objects
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9185 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-03-24 13:40:12 +00:00 |
|