brain
986c79d2bf
Update cloak keys example to use hex definition of the right length
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6210 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-02 00:40:51 +00:00
brain
3311f35e78
Add support for suffixes K, M, G (kilo, mega, gigabyte) and prefix 0x (hex)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6209 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-02 00:38:45 +00:00
special
fd89322179
Made 'make modclean' and 'make distclean' clean out the default lib/ install directory
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6208 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01 23:08:13 +00:00
brain
42d5b9571e
Fix to allow for OnRehash to know what user initiated the rehash
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01 20:53:20 +00:00
brain
8a0a8ce160
Make sure that if an oper opers up and has an swhois in their opertype or oper tag, the swhois is sent out as metadata
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6206 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01 20:00:46 +00:00
brain
963af328e2
This should fix it on two fronts: missing Implements() value, and OnWhois doesnt work for remote, so instead we hook OnWhoisLine
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6205 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01 19:50:20 +00:00
brain
4679e462a7
This is it, i think
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6204 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01 19:44:12 +00:00
brain
1bea5fb6a3
Blah
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6203 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01 19:41:49 +00:00
brain
06fbdc85aa
Debug stuff, pay it no attention
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6202 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01 19:41:26 +00:00
brain
c41191ac09
Whoops, forgot to put something back that i took out during testing!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6201 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01 19:16:37 +00:00
brain
5aa76ac91e
Again, dont use this yet
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6200 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01 19:00:52 +00:00
brain
fa92fd62c2
Do not use these tweaks yet
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6199 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01 18:56:33 +00:00
brain
27ee9a8e52
Fix odd desync in FJOIN (this was some hax we put in, and forgot to take out)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6198 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01 18:01:11 +00:00
brain
8fe441db7c
Fix this so it works properly, and removes the descriptions on unload (when the sockets revert back to plaintext)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6197 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01 00:25:26 +00:00
brain
ba339f8b1c
Add port type identifiers
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6196 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01 00:16:50 +00:00
brain
a07a3f4897
Part 1 of my plan to take over the world. pay it no attention.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6195 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31 20:24:37 +00:00
brain
b2e0b72bb6
Fix whoopsies
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6194 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31 19:19:41 +00:00
brain
6a6f5b2275
Add missing feature: /rehash reinitializes dns subsytem (and can handle changed addresses)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6193 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31 19:17:04 +00:00
brain
739b087705
Fix broken LOLCODE
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6192 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31 13:29:46 +00:00
peavey
7ea1041e61
Tidyup a bit, get rid of some valgrind warnings.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6191 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31 11:40:28 +00:00
brain
e80ed02235
Casting for conciseness
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6190 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31 02:47:02 +00:00
brain
138fb54071
Make this new idea O(1) instead of O(x*y)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6189 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31 02:45:21 +00:00
brain
52c02f79a1
Thanks AnMaster
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6188 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31 01:32:51 +00:00
brain
ca6ffba004
Cache invalidation in the wrong place, fixes FHOST remote host change bug
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6187 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31 01:25:08 +00:00
brain
6e7612767e
<hostname:charmap> defines the valid characters in a hostmask (this is for you webs to obsolete your patch :p)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6186 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31 00:06:43 +00:00
brain
8982ea4cf5
If a user has a QUIT message matching a KILL type filter, we cant KILL someone whos already quitting (what will they care) so treat it as BLOCK and filter their quit.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6185 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 22:11:13 +00:00
brain
8fbec0a6c8
Make filters work on PART and QUIT messages too.
...
NOTE: If you use the type 'block' on a PART or QUIT, the text of their part or quit message will be replaced with 'Reason filtered', as we cant block the entire line without breaking clients.
Satsifies request in bug #184
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6184 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 22:09:18 +00:00
peavey
f82ad6d984
Make it safe to lose connection to sql server.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6183 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 21:59:22 +00:00
brain
a4743b222b
Invalidate 'late' here too
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6182 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 19:52:02 +00:00
brain
b3ab9c527a
Fix broken cloaking introduced by last commit (we need to invalidate the cache after setting the new string, not before)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6181 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 19:48:59 +00:00
peavey
1a21e5e585
Remove a line of debug that could crash Log.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6180 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 19:31:46 +00:00
brain
d3e3a13ae6
Cached GetFullRealHost etc.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6179 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 19:30:53 +00:00
peavey
1102e2c921
This is a longshot, pls test AnnMaster.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6178 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 18:07:20 +00:00
brain
1aaa30bc9b
Properly document support for libhamsters
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6177 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 17:43:26 +00:00
brain
1f8c12807a
Change delays to 1 sec.
...
NOTE: The chances of this actually waiting for 1 sec on any sizeable network are miniscule
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6176 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 17:14:52 +00:00
brain
c364a4743f
The world is coming to an end!!! RUN AWAY!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6175 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 16:38:23 +00:00
peavey
44d746fc41
Fix typo in warning, and make it sound less like the world is coming to an end.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6174 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 16:36:59 +00:00
peavey
d0147795f8
Now REHASH checks for same and old connections, same as the DNS resolver. So that the connections are only reset if things were changed. \o/
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6173 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 16:29:04 +00:00
brain
e5facb2cd0
Tweaks to instantiate less stuff when writing to a bunch of users
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6172 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 16:02:56 +00:00
brain
6fff3c54be
Tons of optimization of WriteChannel, WriteChannelWithServ, WriteCommon etc, dont call userrec::GetFullHost or snprintf for every item, call it just once.
...
Turns O(n) calls for every write into O(~1) calls per write.
Remove some debug from the socketengines which makes debugging hard on large channels (write availability message)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6171 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 15:11:40 +00:00
brain
fce2d243c0
Add unregistered user counter, this may also fix the (minor) m_conn_lusers shows current connection as unregged
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6170 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 14:34:49 +00:00
peavey
81c26039d5
Change description for insp_aton since only a positive return means convertion was a success.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6169 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 13:50:40 +00:00
peavey
9707926560
Majorly funk around with this, still needs check for config change on REHASH.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6168 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 12:33:55 +00:00
peavey
13ade6fed1
That should make it load/unload, still needs REHASH done proper.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6167 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30 12:33:06 +00:00
brain
35c93cd6a5
Fix for w00t
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6166 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29 23:57:38 +00:00
brain
dd295f72ee
Fix my whoopsies
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6165 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29 23:38:48 +00:00
brain
500a6b24b2
This doesnt need to be static
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6164 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29 23:35:35 +00:00
brain
5e9a6b9186
Add counter system for umodes to get rid of some O(n)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6163 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29 23:34:47 +00:00
brain
b848ca1433
Fixed search and replace, code pilfered from m_alias (i think someone misread the help for std::string::replace...)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6162 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29 21:27:39 +00:00
brain
d0fe371f7a
A few fixes, but i cant see why the reverse check doesnt work
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6161 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29 21:21:25 +00:00