peavey
1a416cbc2e
Add Custom Titles as requested per bug #334
...
Optional hostmask and vhost supported
This will need alot of QA to make it into 1.1.10
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7480 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-21 10:38:12 +00:00
peavey
619d5a1347
Fix gnutls cert generation failing. Thx owine.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7479 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-20 22:06:14 +00:00
brain
a3caa8ccd9
Fix for bug #326 , 'no error' quit can no longer theoretically occur because all errno == 0 are weeded out with a shorthand if() on calling userrec::SetWriteError, before, only one of three occurances
...
was.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7478 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-19 22:08:21 +00:00
brain
fb3471e948
Fix for bug #353 , theres no solution to this but a slightly craqy one, but at least its one line.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7477 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-19 22:00:44 +00:00
brain
2fe8bdb5a4
Whoops, someone forgot to check the return value when initializing windows IOCP
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7476 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-19 21:48:45 +00:00
brain
8d46dbfb1e
Check libc version for epoll then check that glibc is built against this kernel version, if not dont allow epoll
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7475 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-19 21:44:46 +00:00
brain
b2f7888b7a
Ive tidied up the mode count stuff, but i still cant duplicate negative invisible counts. :(
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7474 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-18 18:03:21 +00:00
special
d0e13160c5
Fixed m_messageflood to free the channel if it kicks the last user. This would cause either a crash or a memory leak, probably the latter
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7473 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-18 14:31:00 +00:00
pippijn
fed58f5c25
there were two.. yes, you're right Special
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7472 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-18 09:58:24 +00:00
pippijn
f6d5937b01
untested fix for "unused functions"
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7471 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-18 09:54:07 +00:00
brain
599941771e
Stability fixes, some DELETEs here that dont belong any more.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7470 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 19:07:31 +00:00
brain
7c412df4fd
Validation checks that seem to have been omitted here.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7469 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 19:04:30 +00:00
peavey
cf3d3a212c
more headers.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7468 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 18:45:23 +00:00
peavey
b6c238fce2
Mass header update. Chatspike-Dev => InspIRCd....
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7467 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 18:43:39 +00:00
peavey
6d461e285b
Fix copyright headers.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7466 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 18:27:36 +00:00
pippijn
6f59e7a0a0
publish "JSON-RPC" interface
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7465 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 14:50:33 +00:00
pippijn
801fca4042
Now, json-rpc _ONLY_ supports member function pointers. An example is given in
...
ModuleRpcJson::ModuleRpcJson. I must admit that it is kind of ugly but it is
the only way I can see right now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7464 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 14:39:18 +00:00
pippijn
c3c50e8943
#ifdeffed out gnu extension
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7463 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 13:38:46 +00:00
pippijn
eb8fbc12e2
provide feedback to the user if json throws an exception
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7462 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 13:04:36 +00:00
pippijn
6274504ba3
Ignore all exceptions for now.. m_rpc_json is rather willing to throw
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7461 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 13:02:02 +00:00
pippijn
5bf8b9e7e9
Added a JSON-RPC module that can be used by other modules to provide a remote
...
procedure call interface. This should work in theory, but does not for me.
But then, neither does m_httpd_stats so it's probably me...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7460 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 12:53:49 +00:00
special
49a4bc6311
Module directories now use the concatenated linker flags from every cpp file, instead of just the last (which was rather unpredictable)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7459 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 09:53:35 +00:00
special
0b72c64a03
Added the execruntime() function for Compile/Linker flags - executes shell commands at compile time rather than during configure
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7458 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 08:26:25 +00:00
peavey
0c34148b26
Don't hide from me! set LF eol-style on hidden files too.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7457 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 18:18:03 +00:00
peavey
f2acdbc382
OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:30:04 +00:00
peavey
387f54199e
Set EOL to WINDOWS-style always for Visual Studio files.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7455 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:24:00 +00:00
peavey
bab14f0dd2
'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are auto skipped by svn.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:14:45 +00:00
peavey
3abff3a375
Add flags to /STATS s output, and nuke some ^M
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7453 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 16:09:56 +00:00
peavey
f60aa68ee9
Ok windows.. YOU WIN :< .. but at least I can use MAXBUF now and configure will have to endure the fixed 500 limit :>
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7452 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 15:39:31 +00:00
peavey
1cb674495d
formatting and ^M
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7451 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 14:43:30 +00:00
peavey
c2b9f9201d
Oops, the (*p) check was meant for the inner loop, I blame the vs editor :>
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7450 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 13:39:15 +00:00
peavey
22f03b43c5
Begone evil DOS format :<
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7449 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 13:35:59 +00:00
peavey
68e7d996ea
And add colour.h to wrapper resource instead of the source.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7448 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 13:29:12 +00:00
peavey
f1c1633eb9
Use wrapper include instead of colour.h.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7447 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 13:27:14 +00:00
peavey
01d29c38ca
Tide this up and fix possible buffer overflow. Cannot use MAXBUF since inspircd_config.h may not be generated yet.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7446 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 13:25:03 +00:00
special
110d85009e
Little tweak to fix the output when directory modules execute programs for cflags
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7445 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 13:16:59 +00:00
peavey
ff5db0ed1e
Use colours.h in win_wrapper and also add __COLOURS_H define.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7444 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 11:53:15 +00:00
peavey
6a48a6cc9b
Remove printf_c from wrapper, this code also segfaulted when it was used.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7443 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 11:49:18 +00:00
peavey
2b38cad977
Use vsnprintf instead of vsprintf.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7442 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 11:47:47 +00:00
special
c773dc8d0c
Made m_ssl_gnutls throw an exception when unable to load the certificate (since SSL won't work at all without one)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7441 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 08:35:23 +00:00
brain
42105f07dd
Fix for bug #349 : NOTE there is important caveat about this in the example config, MAKE SURE TO READ IT.
...
When you connect a cgi:irc client two different connect classes are checked at two different times (first the one
that the website they are cgi'ing from, then later one for the user's real ip). READ THIS AND UNDERSTAND IT!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7440 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-15 13:18:28 +00:00
brain
4b5ae9645f
Fix for minor memory leak on unloading module, bug #340
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7439 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-15 12:34:30 +00:00
brain
d7ac76bed1
Explicitly disallow mode prefixes > 126, to prevent excess muppetry by 3rd party module devs
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7438 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-13 17:26:45 +00:00
brain
47a4c36063
Implement a way to disable options:maxwho, bug #348
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7437 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-12 18:42:17 +00:00
peavey
caafe7737c
Apply patch from lain to fix multiple cgihosts not being read correctly.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7436 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-12 15:13:44 +00:00
brain
c36ea00019
Backport patch from stskeeps for checking success of gnutls cert generation
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7435 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-11 19:50:26 +00:00
brain
e93cdf5a66
Fix for bug #347 .
...
WARNING: QA PEOPLE, THIS NEEDS TESTING!!!!
Test this with lots of squits and connects, and i mean lots and lots in all different ways you can think of, /squit, pingout, closing the connection with a firewall etc.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7434 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-11 16:59:10 +00:00
brain
bf517cb0ad
Clarifying comment
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7433 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-10 18:00:35 +00:00
brain
f0235432d1
This should fix the rest of remote kill nick hiding
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7432 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-10 17:59:07 +00:00
brain
2f3ba31bae
First part of fix for bug #344
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7431 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-10 17:46:03 +00:00