]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
w00t [Sun, 13 Apr 2008 16:43:53 +0000 (16:43 +0000)]
Cast these to shut up compiler
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9484
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 13 Apr 2008 14:45:02 +0000 (14:45 +0000)]
Eliminate now-pointless label
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9483
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 13 Apr 2008 14:35:51 +0000 (14:35 +0000)]
Whack code duplication
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9481
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 13 Apr 2008 14:34:12 +0000 (14:34 +0000)]
Whack gotos here too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9480
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 13 Apr 2008 14:32:09 +0000 (14:32 +0000)]
Fix 4-space indents :<
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9479
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 13 Apr 2008 09:47:45 +0000 (09:47 +0000)]
Windows fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9475
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 13 Apr 2008 03:28:56 +0000 (03:28 +0000)]
Port a bunch of methods of InspIRCd to functors. IsChannel, IsSID, Rehash.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9474
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 12 Apr 2008 17:57:53 +0000 (17:57 +0000)]
Mapping for mkdir() to _mkdir() for windows
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9473
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 12 Apr 2008 17:55:47 +0000 (17:55 +0000)]
Fixes for default log. It is now called ~/.inspircd/startup.log unless overridden by -logfile commandline param. The name of the log is more indicative of what it stores, and the location is more sane and fits in with standards.
If the home directory cant be found from either HOME or USERPROFILE env vars, then the startup.log is dumped to the current directory.
Removed -nolog from ./inspircd debug, antique setting.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9472
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 12 Apr 2008 17:01:36 +0000 (17:01 +0000)]
Fixes for bug #515, update existing in-use connect tags on the fly in rehash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9471
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 12 Apr 2008 15:48:01 +0000 (15:48 +0000)]
Trunk fix for bug #505 reported by nenolod
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9468
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 12 Apr 2008 14:47:20 +0000 (14:47 +0000)]
In visual studio, CRT crashes when strftime() is given an invalid format specifier and %F/%T are not supported! -- reported along with stripcolor bug by jackmcbarn, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9467
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 12 Apr 2008 14:21:15 +0000 (14:21 +0000)]
Fix crash in m_stripcolor on windows when the colour code is the first item on a line
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9465
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 12 Apr 2008 13:20:38 +0000 (13:20 +0000)]
Replace here too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9463
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Apr 2008 23:55:10 +0000 (23:55 +0000)]
(untested) don't move newconfig to ServerConfig::config_data until its been validated by all the validation funcs in the core config table
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9461
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Apr 2008 23:27:27 +0000 (23:27 +0000)]
Remove 'default log' and <options:loglevel> (wtf?)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9460
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Fri, 11 Apr 2008 23:12:57 +0000 (23:12 +0000)]
nuke loglevel from <options> description, and tidy some indenting.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9459
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Apr 2008 20:54:15 +0000 (20:54 +0000)]
Patch from voidzero, bug #517
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9458
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Apr 2008 16:03:39 +0000 (16:03 +0000)]
Fix sillies
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9457
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 11 Apr 2008 14:27:26 +0000 (14:27 +0000)]
Patch from Brain fixing broken stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9456
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Apr 2008 00:03:03 +0000 (00:03 +0000)]
Much faster way of checking if the user is 4in6, avoid strncmp in User::GetIPString(), do it in User::SetSockAddr()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9455
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Apr 2008 23:35:35 +0000 (23:35 +0000)]
Provide an optional param translate4in6 to User::GetIPString() and default it to true. This hides the 0::ffff: on all info about an ipv6 user connecting over ipv4, making glines on them and bans etc work better.
Certain parts such as dns lookup need to set this to false to determine wether to use ipv4 or ipv6 reverse lookup.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9454
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Apr 2008 22:36:20 +0000 (22:36 +0000)]
Fix for bug #503 reported by Stealth (at last)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9453
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Apr 2008 21:56:45 +0000 (21:56 +0000)]
Add correct stuff so that /taxonomy can show the cloaked hosts for users in their metadata
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9452
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Apr 2008 21:46:30 +0000 (21:46 +0000)]
Calculate hosts on connect so theres no way around a ban on your cloak, even if you never cloak yourself even once
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9451
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Apr 2008 20:53:13 +0000 (20:53 +0000)]
Comment small API change (returning -1 from OnCheckBan to explicitly deny the ban)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9450
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Apr 2008 20:48:46 +0000 (20:48 +0000)]
Fix for bug #513
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9449
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Apr 2008 16:31:02 +0000 (16:31 +0000)]
This now passes all the RIPEMD160 test vectors and is a complete and usable module:
[17:27] --- ripemd160 hashed password for a is
0bdc9d2d256b3ee9daae347be6f4dc835a467ffe
[17:27] --- ripemd160 hashed password for abc is
8eb208f7e05d987a9b044a8e98c6b087f15a0bfc
[17:27] --- ripemd160 hashed password for message is
1dddbe1bea18cfda41f3fa4e6e66dbbbab93774e
[17:27] --- ripemd160 hashed password for message digest is
5d0689ef49d2fae572b881b123a85ffa21595f36
[17:28] --- ripemd160 hashed password for abcdefghijklmnopqrstuvwxyz is
f71c27109c692c1b56bbdceb5b9d2865b3708dbc
[17:28] --- ripemd160 hashed password for is
9c1185a5c5e9fc54612808977ee8f548b2258d31
[17:28] --- ripemd160 hashed password for abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq is
12a053384a9c0c88e405a06c27dcf49ada62eb2b
[17:29] --- ripemd160 hashed password for ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 is
b0e20b6e3116640286ed3a87a5713079b21f5189
[17:29] --- ripemd160 hashed password for 12345678901234567890123456789012345678901234567890123456789012345678901234567890 is
9b752e45573d4b39f4dbd3323cab82bf63326bfb
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9448
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Apr 2008 16:09:26 +0000 (16:09 +0000)]
Whoops, overwriting hash with the hex isnt a good idea
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9447
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Apr 2008 15:57:47 +0000 (15:57 +0000)]
Fix ripemd160 warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9446
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 10 Apr 2008 15:00:41 +0000 (15:00 +0000)]
Add m_ripemd160 on behalf of Brain. Adds ripemd-160 hashing to our collection of providers. Will doc later.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9445
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 9 Apr 2008 16:02:23 +0000 (16:02 +0000)]
Fix these
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9444
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 9 Apr 2008 15:47:10 +0000 (15:47 +0000)]
AddClient -> AddUser, to be consistant
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9443
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 9 Apr 2008 15:34:54 +0000 (15:34 +0000)]
Move QuitUser into UserManager class, and unstaticize it. This prepares for some benchmarking lulz on object pooling I plan to do today, as well as making more sense now we *have* a manager class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9442
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 9 Apr 2008 10:17:28 +0000 (10:17 +0000)]
Apply brain's patch for binary safety of hash providers, and remove rehash from windows project (manually applied that due to linefeed shit)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9441
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 9 Apr 2008 10:14:40 +0000 (10:14 +0000)]
Send usermodes on whois if user is self or opered
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9440
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 8 Apr 2008 23:59:48 +0000 (23:59 +0000)]
Oddness
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9439
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 8 Apr 2008 23:57:35 +0000 (23:57 +0000)]
Extra debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9438
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 8 Apr 2008 23:27:49 +0000 (23:27 +0000)]
Fix authentication logic, someone forgot to change an || to an &&, because we use continue now the logic is reversed, we continue if auth method one fails AND auth method two fails
(instead of if auth method one fails OR auth method two fails)
Also, fix bug where credentials of outbound server are leaked on successful auth to other ircds behind it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9437
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 22:55:37 +0000 (22:55 +0000)]
Allow remote users to bypass Q:Line (why on earth wasn't this the case)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9436
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 22:50:30 +0000 (22:50 +0000)]
Don't check Q:Lines here, it will affect change to UID
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9435
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 22:36:15 +0000 (22:36 +0000)]
Don't check Q:Lines if server is enforcing a nick change (I forgot we had a way to check this). 'Bug' (it's not really a bug, just admin stupidity) found by Kein.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9434
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 19:42:53 +0000 (19:42 +0000)]
Fix a bug with /SHUN deletion (it didn't work)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9433
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 19:42:23 +0000 (19:42 +0000)]
CBan rewritten to use the XLine API. Untested as yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9432
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 19:23:18 +0000 (19:23 +0000)]
Changes needed to get open-linking working.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9431
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 18:58:25 +0000 (18:58 +0000)]
Fix compile error I introduced
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9430
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 18:54:03 +0000 (18:54 +0000)]
Comment tweakage
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9429
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 18:39:19 +0000 (18:39 +0000)]
This comment is slightly out of date: we do write to opers now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9428
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 18:33:26 +0000 (18:33 +0000)]
No longer deprecated, just may not be used
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9427
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 8 Apr 2008 16:03:02 +0000 (16:03 +0000)]
add a couple of parenthesis to the password comparison, because i couldnt easily make out the order of precedence, clarify it a bit :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9426
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 15:36:44 +0000 (15:36 +0000)]
Allow for open link networks (<link:name> to *) and tidy up checks here. XXX someone check my work here because this was quite untidy, so I'm not 100% I got all the logic ops correct.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9425
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 15:05:51 +0000 (15:05 +0000)]
Add todo, add server name
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9424
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 15:00:28 +0000 (15:00 +0000)]
Remote REHASH stuff, this drove me nuts but should probably work now.. thx brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9423
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 12:07:15 +0000 (12:07 +0000)]
Update syntax
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9422
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 12:05:13 +0000 (12:05 +0000)]
Finally apply my patch simplifying RSQUIT. Fixes bug #452, reported by Mark. This won't be backported.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9421
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 12:04:38 +0000 (12:04 +0000)]
Fix compile error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9420
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 10:29:45 +0000 (10:29 +0000)]
REG_ALL check is not required, since OnUserConnect is triggered after NICK/USER recieved, but we don't want to bother trying to SHUN remote users too, so check IS_LOCAL in the connection event
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9419
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 8 Apr 2008 10:23:35 +0000 (10:23 +0000)]
SHUN: check SHUN on connect, extend user with shunned metadata if they match, and disallow any commands if metadata exists instead of constantly rechecking bans per-command.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9418
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 8 Apr 2008 00:01:14 +0000 (00:01 +0000)]
Ugh, fixify. msms?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9417
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 7 Apr 2008 23:58:28 +0000 (23:58 +0000)]
When map says 0ms, make it read "<1ms" instead of 0, 0 doesnt make ANY sense at all, transfer of data is not instant! Also tidy up headers for this file, we include far more of spanningtree than we actually use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9416
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 7 Apr 2008 23:48:26 +0000 (23:48 +0000)]
Fix for bug #510
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9415
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 7 Apr 2008 23:02:02 +0000 (23:02 +0000)]
Hosts vector not cleared on rehash, made rehashing for changes impossible
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9414
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 7 Apr 2008 22:49:17 +0000 (22:49 +0000)]
SHUN works (locally at least)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9412
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 7 Apr 2008 22:39:19 +0000 (22:39 +0000)]
Hook events properly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9411
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 7 Apr 2008 22:34:46 +0000 (22:34 +0000)]
Add a factory to produce shuns, don't autoapply to userlist, etc.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9410
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 7 Apr 2008 22:30:45 +0000 (22:30 +0000)]
Add extra stuff for w00t, AutoApplyToUserList method for XLineFactory
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9409
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 7 Apr 2008 22:17:30 +0000 (22:17 +0000)]
Use SHUN, not S, try match on std::string for removal
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9408
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 7 Apr 2008 22:14:21 +0000 (22:14 +0000)]
Unrestrict users before REG_ALL
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9407
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 7 Apr 2008 22:03:12 +0000 (22:03 +0000)]
Make it work properly, too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9406
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 7 Apr 2008 22:02:46 +0000 (22:02 +0000)]
Show server kills with correct origin, UNLESS hidden server in whois is set
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9405
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 7 Apr 2008 22:00:49 +0000 (22:00 +0000)]
This should probably be tested, but makes a whole lot more sense like this (users.cpp)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9404
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 7 Apr 2008 18:13:58 +0000 (18:13 +0000)]
Show SID on /map
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9403
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 7 Apr 2008 18:00:28 +0000 (18:00 +0000)]
remote MAP reply is backwards :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9402
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 7 Apr 2008 16:50:20 +0000 (16:50 +0000)]
Use server names for introduction of servers, not SIDs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9401
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 7 Apr 2008 16:18:32 +0000 (16:18 +0000)]
We were lucky this one didnt bring down the whole devnet (see cmd_part.cpp diff)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9400
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 7 Apr 2008 14:45:41 +0000 (14:45 +0000)]
Typo x 2 (ta Zaba)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9399
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 7 Apr 2008 14:45:01 +0000 (14:45 +0000)]
Typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9398
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 7 Apr 2008 14:35:50 +0000 (14:35 +0000)]
Convert this to use the new XLine API, this results in fairly significant lessening of code complexity.. also now more up to date with our recent coding style.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9397
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 7 Apr 2008 13:08:25 +0000 (13:08 +0000)]
Add m_shun from third party to 1.2, update it to compile (currently untested..) and fix a printf-bug in the process
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9396
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 7 Apr 2008 12:39:22 +0000 (12:39 +0000)]
Updates to NeoStats aliases, again by TamCore (thanks :))
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9395
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 7 Apr 2008 12:29:05 +0000 (12:29 +0000)]
Patch from Brain: set MAX_DESCRIPTORS for all socket engines (I missed this)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9394
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 6 Apr 2008 23:18:19 +0000 (23:18 +0000)]
Fix fake direction in TOPIC, you cant use a uuid as a command origin in the send functions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9393
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 6 Apr 2008 21:59:10 +0000 (21:59 +0000)]
Its ok to allow remote map to non-opers now, found the real culprit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9392
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 6 Apr 2008 21:57:03 +0000 (21:57 +0000)]
Fix bug where OPERTYPE does not propogate more than one server in distance due to it being propogated with a nick prefix.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9391
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 6 Apr 2008 21:50:03 +0000 (21:50 +0000)]
Remote map only works for opers. Fix problem where only part of the map is shown, and also restrict to opers only so that normal users cant use it to probe network routes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9390
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 6 Apr 2008 21:44:18 +0000 (21:44 +0000)]
Debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9389
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 6 Apr 2008 21:35:03 +0000 (21:35 +0000)]
The map matrix must be static. For some reason it blows up when it is not. This fixes the display oddities, as far as i can tell.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9388
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 6 Apr 2008 20:24:54 +0000 (20:24 +0000)]
Initialise this so WriteCommon() knows what it's dealing with (thanks, valgrind)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9387
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 6 Apr 2008 20:17:42 +0000 (20:17 +0000)]
Initialise var (another valgrind warning)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9386
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 6 Apr 2008 20:10:33 +0000 (20:10 +0000)]
Stupid, stupid :| use the correct variable to find existing channel (this caused my spurious CoreException crash, Brain)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9385
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 6 Apr 2008 20:09:06 +0000 (20:09 +0000)]
Initialise this (valgrind warning)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9384
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 6 Apr 2008 18:11:25 +0000 (18:11 +0000)]
Remote /MAP (that now doesn't confuse clients ;p)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9383
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 6 Apr 2008 18:03:30 +0000 (18:03 +0000)]
Fix this up to convert deque to const char* const for w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9382
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 6 Apr 2008 17:53:15 +0000 (17:53 +0000)]
Remote /MAP: caution, this doesn't compile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9381
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 6 Apr 2008 17:26:25 +0000 (17:26 +0000)]
Revert not-required hax
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9380
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 6 Apr 2008 17:24:10 +0000 (17:24 +0000)]
For some reason there was a FinishBurst in the encap command, which was sending spurious end of burst messages
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9379
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 6 Apr 2008 16:26:50 +0000 (16:26 +0000)]
Mark ping answered when we get a two form reply
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9378
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 6 Apr 2008 16:22:10 +0000 (16:22 +0000)]
Make ping warnings and lag check global across all servers on a network. This means a lot of pings travelling around with a lot of servers, but hey, it's useful info.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9377
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 6 Apr 2008 13:12:32 +0000 (13:12 +0000)]
Add NeoStats example aliases (thanks TamCore)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9376
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 6 Apr 2008 12:30:47 +0000 (12:30 +0000)]
Fix bug #509 reported by Casey: bans were not applied on non-opped users (1.2 only)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9375
e03df62e -2008-0410-955e-
edbf42e46eb7