w00t
|
c916c63445
|
Throw exception if trying to construct a duplicate channel
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8648 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-06 12:29:31 +00:00 |
|
w00t
|
488cea15e8
|
Move CreateChannel to a constructor instead
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8647 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-06 02:36:05 +00:00 |
|
w00t
|
d2fea45d5a
|
Move channel creation to a seperate Channel::CreateChannel (y'know, perhaps this might go into a constructor sometime) in preperation for permanent channels
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8646 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-06 02:24:26 +00:00 |
|
w00t
|
c244f3ecd5
|
Forward declaration isn't required here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8645 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-06 02:01:34 +00:00 |
|
w00t
|
c110833e67
|
Add overridden constructor with specified time in seconds for bancache entry to last (we'll probably want to use this for xlines etc)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8644 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-06 01:50:34 +00:00 |
|
w00t
|
66d15c4a15
|
Maybe BanCache works now?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8643 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-06 01:39:53 +00:00 |
|
w00t
|
627d16303b
|
Back out rsquit: wasn't meant to be committed yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8642 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-06 01:32:44 +00:00 |
|
w00t
|
64fec23cc7
|
Add removal of BanCache entries on XLINE add/del, so we avoid out of date responses.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8641 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-06 01:31:43 +00:00 |
|
w00t
|
01d7b8e246
|
Add bancache expiry stuff, currently records expire 60 seconds after creation. Live, we will want perhaps an hour before expiry.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8640 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-06 01:15:58 +00:00 |
|
w00t
|
ef8c1e5e65
|
Fix a bug (snotices repeating constantly), and add a flush timer (1x5 seconds)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8639 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-05 16:57:42 +00:00 |
|
w00t
|
d138843fe0
|
Fix snomask stacking, still needs to flush all snomasks on a timer to avoid messages getting too stacked up..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8638 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-05 16:06:21 +00:00 |
|
w00t
|
1c774ea51f
|
Snomask stacking: not yet working (crashes), and not quite finished
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8637 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-05 15:54:37 +00:00 |
|
w00t
|
13a4f598b7
|
Add SnomaskManager::FlushSnotices() stub
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8636 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-05 15:25:58 +00:00 |
|
brain
|
371b1d7ef0
|
Fix for bug #464, thanks John
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8634 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-05 14:03:44 +00:00 |
|
w00t
|
24a685df2d
|
Fix m_banredirect: (hint: sizeof(f) != sizeof(*f) ;p)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8633 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-04 23:56:04 +00:00 |
|
w00t
|
4fe35b6ead
|
Remove non-portable code and replace with a debug call
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8632 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-04 20:34:25 +00:00 |
|
w00t
|
2711056dc3
|
Fix warning reported by owine, caused by SID changes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8631 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-04 18:31:57 +00:00 |
|
w00t
|
32790543e1
|
Forward port r8629: Fix for bug #458 - servers going missing on collision etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8630 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-04 18:06:20 +00:00 |
|
w00t
|
66e41aba0f
|
Format the header a little better, add some stuff preparing for snomask compression. Nothing concrete yet..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8628 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-04 14:49:40 +00:00 |
|
w00t
|
f4e0d31913
|
Back out previous patch disabling ADDLINE processing. The problem is in the new factory stuff. This makes it not close the link, and warn about the problem, but not actually fix it yet..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8627 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-04 13:52:17 +00:00 |
|
w00t
|
9ddf78c28b
|
ADDLINE is broken, don't process it for now..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8626 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-04 13:44:23 +00:00 |
|
w00t
|
2264343714
|
Remove some stuff that isn't needed from here.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8625 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-04 13:43:40 +00:00 |
|
om
|
9354e09fc1
|
Hopefully fix crashes on startup with some connect tags (I think when the last connect tag in your config isn't actually used for anything, but I didn't really look into when this is an issue)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8622 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-03 15:49:57 +00:00 |
|
w00t
|
1622a719c7
|
Minor tweak
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8621 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-03 15:30:42 +00:00 |
|
w00t
|
edb126e57f
|
SID generation should(?) now work again as well. NOTE: no error checking on SID from config yet, we may wish to do that sometime..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8620 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-03 13:17:51 +00:00 |
|
w00t
|
ce5bee9a3e
|
Patch turning Config->sid from size_t to char **. This also undoes the total fuckery that occurs when someone tries to specify <server:id>. Automatic generation is not yet tested.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8619 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-03 13:04:10 +00:00 |
|
w00t
|
287d60fc83
|
Update this to use the new oper call
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8618 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-02 23:53:42 +00:00 |
|
w00t
|
e76a1fa411
|
And update docs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8617 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-02 23:36:04 +00:00 |
|
w00t
|
495261d7ad
|
Totally untested patch to add <oper:modes> support. dz, test. Thanks ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8616 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-02 23:34:19 +00:00 |
|
w00t
|
f5c3e3782b
|
Add param 'opername' to event OnPostOper. This will help make a (slightly nicer) version of dz's patch to allow modes in <oper>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8615 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-02 22:58:47 +00:00 |
|
w00t
|
455b5993eb
|
m_clones: Only show the number of clones and IP for each entry over the limit. Showing nick+ident+host matches is really not that useful. Opers can use /check on the IP to get the information in a more beneficial way.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8613 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-01-02 15:04:33 +00:00 |
|
w00t
|
94fd751561
|
Remove an unneeded forward declaration and typedef
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8612 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-12-30 13:49:43 +00:00 |
|
brain
|
dec1d4eba3
|
The mysql worker thread only sleeps 50 nanosecs between cycles, this is not enough to prevent it chomping on the CPU on most machines.
Increase to 1000, fixes bugs noticed on forum by JulianD, thanks :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8605 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-29 19:37:56 +00:00 |
|
brain
|
8163a01cbb
|
Now fetches page. Not the page you ask for, but meh :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8604 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-18 11:02:13 +00:00 |
|
brain
|
9b2a5837b1
|
Test framework connects now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8603 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-18 10:46:59 +00:00 |
|
brain
|
85ea4dbed5
|
Half complete test framework
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8602 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-18 10:41:25 +00:00 |
|
brain
|
380852d1a7
|
First part of stuff for remote includes (this doesnt work yet)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8601 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-18 10:25:12 +00:00 |
|
w00t
|
12ec2bc108
|
It compiles; ship it.
(add some sort of working skeleton for BanCacheManager::RemoveEntries().)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8600 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-17 23:59:39 +00:00 |
|
w00t
|
409b55e442
|
Correctly do the second setup of the fake client (AFTER uid has been initialised)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8599 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-16 17:56:43 +00:00 |
|
w00t
|
9b78e25056
|
Minor change: Add + to FMODE on creation of a new channel. This makes all FMODE consistant, and also clarifies what's going on for authors of third party apps. It's just one character too, so not a big deal :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8598 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-16 12:47:41 +00:00 |
|
w00t
|
8bc8dc92e4
|
Add another BanCache stub. I'm not writing it yet as the storage of entries has not yet been finalised.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8595 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-15 15:59:05 +00:00 |
|
brain
|
8d278b5d9c
|
Argh, i give up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8594 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-12 01:33:13 +00:00 |
|
brain
|
c23f9303db
|
More craq
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8593 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-12 00:57:05 +00:00 |
|
brain
|
44ff49b0b1
|
Remove craq
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8592 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-12 00:36:58 +00:00 |
|
brain
|
c68ed91549
|
NOTE: our stuff for parsing multiple dns replies for dnsbl with an 'A record reply' is broken.
We will fix this at some later date. It was breaking other stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8591 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-12 00:35:19 +00:00 |
|
brain
|
bedbe6480d
|
This works with multiple remote includes now except it hangs when an include is within an include
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8590 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-11 23:49:03 +00:00 |
|
brain
|
5252b3095f
|
Currently crashes with multiple layers of include. don't use this yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8589 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-11 23:09:09 +00:00 |
|
brain
|
d41820f19f
|
Fix some dodgy destructor stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8588 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-11 21:58:01 +00:00 |
|
brain
|
58450cb217
|
Make sure we dont leak ram after loading files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8587 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-11 21:47:48 +00:00 |
|
brain
|
72afed308c
|
Handle non-200 HTTP status codes as error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8586 e03df62e-2008-0410-955e-edbf42e46eb7
|
2007-11-11 21:07:11 +00:00 |
|