w00t
34d034942c
Add m_nickflood: Provides usermode +F nickchanges:seconds - allows nickchanges:seconds on a per-channel basis before denying further changes by any user on that channel. Requested in bug #325 by Potter. Works with <options:exemptchanops>, too.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7665 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05 17:08:40 +00:00
brain
7ab3a0d78d
Try this
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7663 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05 14:43:58 +00:00
brain
82ce717cd2
Fix to trigger the write notification on successful writes, too
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7662 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05 14:40:16 +00:00
peavey
1e2e45fdc3
Revert my fix and apply the flushevent, and a bit of debugging output.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7661 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05 14:36:51 +00:00
brain
3f97fe394b
Fixes from experiences on chatspike. Use the proper OnBufferFlushed event to decide when to write data, don't just recursively call OnRawSocketWrite when it fails (duhhhhhhh)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7659 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05 13:51:33 +00:00
brain
6edfe13e49
Better check for kernel build version and libc version for epoll availability.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7657 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05 12:21:19 +00:00
brain
6d8f6bf5f6
Fix random debian (well, duplicated on debian) breakage with client sockets 'hanging' on connect
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7654 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05 12:12:42 +00:00
peavey
79cae85dd7
Remove debug again.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7649 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-04 03:07:31 +00:00
peavey
2feb4f5ad4
Fix openssl.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7648 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-04 02:57:53 +00:00
brain
81e793231d
Second part of fix, in theory
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7646 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-03 21:57:58 +00:00
brain
ea4da0eb2d
Attempt fix for openssl buffer issue (fix was already here but experimental and commented out)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7644 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-03 21:46:14 +00:00
w00t
31e2d05225
Add VF_COMMON to a lot modules which require it. Reported by danielg in bug #369 and bug #370 . Thanks, and sorry for the delay. Also fix one or two erroneous CMD_FAILURE that are more understandable as CMD_LOCALONLY. :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7641 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-03 21:22:10 +00:00
w00t
a41cd7a0c2
There was a missing colon on remote numeric 376. Spotted by Hal9000 of Denora.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7637 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-03 20:18:28 +00:00
w00t
3110230083
Allow clients on ULined servers to request stats indiscriminately.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7635 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-03 17:09:24 +00:00
special
5edae19f68
Forward port of the fix to secret channels in /list
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7633 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-30 19:58:18 +00:00
brain
aeb6f60a43
Add uptime
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7631 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-30 19:29:18 +00:00
brain
2bc7de2e3f
Add servers and server user counts, module versions
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7630 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-30 19:20:59 +00:00
brain
e61cedcdb1
Output is now xml in trunk.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7629 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-30 18:53:11 +00:00
brain
3b84779366
Dont show hidden channels
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7627 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-30 18:37:45 +00:00
brain
a044050972
Fix some op/halfop counts
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7625 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-30 18:35:06 +00:00
brain
74f0b3c7e3
Set changed to true on load
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7623 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-30 18:31:59 +00:00
brain
f37484b454
Replace blank error pages with an error page
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7621 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-30 18:30:02 +00:00
brain
4695b631fb
The macros which tidy up module factories broke m_httpd, fixed.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7619 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-30 18:24:14 +00:00
brain
317895a816
Update with warning about using \\ instead of \ (so that we don't get a repeat of bug #371 )
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7616 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-29 19:35:58 +00:00
brain
62b2c3670f
This should be set as a 1.2 not 1.1 installer
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7614 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-29 13:21:56 +00:00
brain
663b2e15a6
Create module line for m_close
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7608 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-29 12:46:22 +00:00
peavey
1f178250c7
Add /CLOSE which quit off all unregistered client connections. Based on the U4 module.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7607 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-29 12:17:45 +00:00
peavey
25b3224dda
use new != operator :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7606 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-28 19:48:16 +00:00
peavey
694e3ba4c7
operators for std::string != irc::string and vice versa.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7604 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-28 18:13:35 +00:00
peavey
380ad4bb01
Do not take away mode r for nickchanges that only changes the case.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7602 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-28 18:04:07 +00:00
brain
afcf8ad536
make sure that the pointers are set up correctly for win32
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7600 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 19:50:42 +00:00
brain
5adcfa35c2
Windows specific data types in EventHandler are now Extensible items
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7599 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 19:26:27 +00:00
brain
17d318c9de
Removal of some ifdefs
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7598 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 18:16:09 +00:00
brain
d59b89205e
Tidyups, remove of ifdefs
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7597 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 18:11:03 +00:00
brain
f017306e4e
And another error fix
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7596 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 17:55:05 +00:00
brain
a33663c086
SIGHUP needs to be #define'd on windows. This is an i-hate-windows day today.
...
Also, define WIN32_LEAN_AND_MEAN as we should be able to get away with using it now we dont have the shell functions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7595 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 17:52:17 +00:00
brain
357cd5f660
add filelogger.* and server.* to the project file so theyre compiled
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7594 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 17:46:50 +00:00
brain
dffae50cae
And more to fix
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7593 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 17:40:37 +00:00
brain
f40811fd6e
Fix compile errors in windows
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7592 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 17:39:51 +00:00
brain
156c232d1d
Found the bug, turns out i just introduced it with the last commit :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7591 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 17:20:41 +00:00
brain
f3624af468
Needs testbuilding in windows. I will probably do this in a minute.
...
More clever tricks to eliminate ifdefs. With a bit of function pointer and functor magic we may be able to eliminate all ifdefs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7590 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 17:02:24 +00:00
brain
ac3af8b61e
Some smart tricks to eliminate win32 ifdefs that are creeping into portable files
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7589 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 16:50:53 +00:00
brain
27d4ea0d97
Move a bunch of stuff around for tidyness, win32 functions keep creeping into #ifdef'ed chunks in non-win32 files
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7588 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 16:45:03 +00:00
brain
e5c4de03a9
More detail on the comment to indicate how to replace a functor in a class
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7587 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-26 19:57:14 +00:00
brain
e04794af4a
Abort if we cant chdir to our own dir (i'd say we have bigger things to worry about if this happens, but meh)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7585 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-26 19:51:05 +00:00
brain
8e7e59aa48
Set defaults for an enum
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7583 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-26 19:45:50 +00:00
brain
7ea099f8d1
Add extra detail to m_cloaking on failure to load
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7580 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-26 18:44:13 +00:00
brain
a3008ff654
Forgot to add to init-list
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7579 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-26 16:41:05 +00:00
brain
6344881c9f
Move a ton of stuff into caller* functors
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7578 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-26 16:36:37 +00:00
brain
e0b2608b68
Apply diff for userprocess.cpp from earlier in the day
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7577 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-26 15:57:50 +00:00