8612 Commits

Author SHA1 Message Date
w00t
5f5c8f8b89 Fix missing >, thanks Kein
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10377 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-02 15:37:34 +00:00
w00t
91dcd2ad13 This string copy is gone now, remove fixme note
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10376 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-02 13:57:32 +00:00
w00t
91ec6450b2 Make m_chanfilter grok globbing, meaning +g test?string?lol is now possible to block a word sequence. CAVEAT: you now need to block *word* unless you're blocking a whole sentance at once. Tech note: removes a string copy, which is a Good Thing.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10375 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-01 23:44:16 +00:00
w00t
414f891fa6 typofix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10374 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-01 20:57:01 +00:00
w00t
23766d7178 Allow a choice between openssl and gnutls (or both, if you're a masochist (for it in action, see http://rafb.net/p/2oUb5r28.html)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10373 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-01 20:51:46 +00:00
brain
a1460b5736 Output proper error message when we cant write one of the makefiles etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10372 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-01 00:59:00 +00:00
w00t
7f73fc30d5 Omit -export-dynamic on OS X, thanks to satmd's oper
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10369 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31 16:42:29 +00:00
brain
dc2703b066 Two fixes: Ignore + when parsing mode string in UID, and dont prepend + if we already have one, to prevent '++'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10368 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31 15:54:43 +00:00
brain
7e5439b27f More debugging mesages for troubleshooting invalid mode sequences in UID
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10367 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31 14:06:04 +00:00
brain
fff3e17a59 Whoops, left off a virtual. Please ensure youre using this version if you actually want mode params to be propogated
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10366 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31 14:02:56 +00:00
brain
98c270f305 I guess it makes sense never to let the gecos be parsed as a mode param, even in error, in case it does something stupid
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10365 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31 13:12:23 +00:00
brain
db7a49b071 Move all the parameters around AGAIN. See docs shortly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10364 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31 13:00:12 +00:00
brain
c6ca1cd626 Two fixes: First, change the error message for too few params for UID to now match the correct 11 params, and change the server name in remote kill to correctly show server name rather than sid
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10363 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31 11:33:11 +00:00
w00t
e5d87abd35 What the fuck am I doing.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10362 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31 02:51:34 +00:00
w00t
b868ecbde1 Off-by-one on params also == masskill, woo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10361 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31 02:40:14 +00:00
w00t
1609ed5d3a Add snomasks to UID command, after 'modes', bump protocol version, as this can cause fun masskills if an upgraded server is introduced to older servers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10360 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31 02:21:50 +00:00
w00t
29237b699f Save 4 bytes (assuming sizeof(ptr) == 2) per user record, storing unneeded pointers (self managed class) that nothing was ever done with.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10359 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31 01:05:00 +00:00
w00t
dc13e23883 Remove a redundant check, and fix user-mode change propegation. (closes bug #574)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10358 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31 00:47:30 +00:00
w00t
5e2eaff8b7 Add <connect:useident> as part of m_ident, original suggestion from various people, including satmd.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10357 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31 00:30:04 +00:00
w00t
42aadffd87 Make m_alltime easier to scan read for discrepancies on larger networks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10356 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-30 23:29:26 +00:00
brain
78dabca366 Tidier /modules generation. faster for non-opers, neater for all, and doesnt use all the strlcpys on stuff that isnt needed any more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10354 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29 23:29:40 +00:00
w00t
cddf45ff25 Make these more descriptive/easy to grok
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10353 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29 22:44:25 +00:00
w00t
9e9294bcda Safeguards
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10352 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29 21:15:07 +00:00
w00t
7646da6fc4 Don't try destroy on -P of a 0 user chan, as this causes problems during netmerge.. *sigh*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10351 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29 21:03:41 +00:00
peavey
6e39923ee9 Fix extra End of /STATS on spanningtree override of stats c and n.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10350 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29 20:19:31 +00:00
psychon
3eb4ce6e93 Some fixes for the ziplinks modules.
It now uses the netbuffer size from config for its network buffers instead of
always 128k. To avoid the inbuf filling up, it doesn't read anything from the
net anymore until that buffer is empty again.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10349 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29 20:12:27 +00:00
w00t
c47d19fa79 Remove some old stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10348 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29 20:05:28 +00:00
psychon
0c7b4e8f09 I was told that a new dev's first action must be adding himself to /info, so
here it is.
Enjoy!


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10347 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29 19:50:34 +00:00
w00t
796f6d79df Remove two unused parameters
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10346 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29 17:02:30 +00:00
brain
1fd22793d1 Windows compile fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10343 e03df62e-2008-0410-955e-edbf42e46eb7
v1.2.0a6
2008-08-28 20:30:32 +00:00
w00t
b950e46bfe Newly revamped ziplinks module, work of psychon.. resolves (a lot) of problems with ziplinks and large data amounts, fixes a few bugs, etc. (thanks for your work). - Yes, this missed the alpha.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10342 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28 20:28:39 +00:00
brain
2357909c1a Tuxer alpha release
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10341 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28 20:18:49 +00:00
w00t
bfc83eadd8 Fix: 'Notice' vs 'NOTICE' as a command. I bet this would break some client or other.. ;p. Thanks to mixx941.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10339 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28 19:57:17 +00:00
w00t
52f834ace7 Fix aliases stuff.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10338 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28 19:46:21 +00:00
w00t
0a3159121e Rename lowermap to rfc_case_insensitive_map, add case_sensitive_map.. adjust files to not pass lowermap directly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10337 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28 19:45:21 +00:00
w00t
ed1dd51ef7 Patch modifying these modules to work on older gcc/openbsd, provided by Dagonet (CUSTOM_PRINTF() needs to be in the prototype, not the function body.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10336 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28 19:12:49 +00:00
brain
b844b70a0f this new stuff in m_ssl_gnutls is NOT in our spec! probably shouldnt be either, because it adds confusion and its clearly documented that initialising tls is done via STARTTLS and CAP advertises it (not to mention clients are already doing it this way)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10334 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28 15:50:43 +00:00
w00t
afda90cd07 Make this comply with the spec; that is - CAP may be requested after registration.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10333 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28 15:40:16 +00:00
w00t
ee790f2cb4 Add CAP REQ tls support, thanks to psychon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10332 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28 15:34:22 +00:00
w00t
11e2a3e2eb Fix recursion crash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10330 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 21:37:28 +00:00
w00t
dfba08638c Add <disabled:fakenonexistant> - ircd will pretend that a disabled command just doesn't exist (for austnet), document <disabled:usermodes> and <disabled:chanmodes> (bad aquanight.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10327 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 20:19:26 +00:00
w00t
a215177f31 Don't force-finish a burst on a timer, instead, set bursted if a PONG is recieved while still bursting (obviously wrong).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10326 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 19:47:33 +00:00
w00t
97889f57c1 Fix..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10325 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 19:28:35 +00:00
w00t
19e6882591 Clean up opering a tiny bit.. pave the way for SVSOPER
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10324 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 19:23:17 +00:00
w00t
4f7adb7d8b Fix ident using uninitialised memory, forward-port of r10321. Thanks psychon.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10323 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 19:01:12 +00:00
w00t
e471f12576 USERHOST/USERIP fix, return '-' char, not '+' if the user is away. Thanks jilles.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10319 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 18:45:15 +00:00
w00t
533bda9cfe Add <shun:notifyuser>, default on, which notifies the user that their command was blocked
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10317 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 15:53:06 +00:00
w00t
67c1245304 Add and document <shun:enabledcommands>, allowing customisation of specifically which commands shunned users may execute. NOTE: PART/QUIT (if allowed) will always suppress the PART/QUIT message. This needs some testing. :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10316 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 15:42:24 +00:00
w00t
4608413eb8 s/ /\t/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10315 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 15:37:04 +00:00
w00t
423481c43e Fix retarded windows linefeeds (brain >:()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10314 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 15:35:53 +00:00