brain
|
7c4402f9b4
|
Finally take ServerInstance out of the global scope in this module, amongst a ton of other stuff.
Put it all into a class called SpanningTreeUtilities and pass this class around when constructing new objects.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5488 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-17 20:09:59 +00:00 |
|
brain
|
6b8747ab63
|
Added a tiny bit more logging to LoadModule, to log to default loglevel when a module is loaded
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5487 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 21:38:51 +00:00 |
|
brain
|
bc69a6264e
|
Multiply API_VERSION by ten if IPV6 is defined, to prevent modules built for an ipv6 insp being loaded into an ipv4 insp (the sizes of structs such as userrec and inspsocket are different when ipv6 is enabled)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5486 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 21:27:02 +00:00 |
|
brain
|
512c588665
|
Allow * in override to mean all tokens in 1.1
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5485 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 20:31:47 +00:00 |
|
brain
|
226cf304fd
|
Always allow a user to dcc themselves
Only return CMD_SUCCESS when a user is added or deleted, theres no use in propogating HELP or LIST
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5483 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 16:32:52 +00:00 |
|
brain
|
a6884342b0
|
Idea from nenolod, dont allow you to add yourself to your own dccallow list (!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5482 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 16:30:03 +00:00 |
|
brain
|
2352b3a3ef
|
Make parameter count checks more readable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5481 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 13:33:33 +00:00 |
|
brain
|
afb3aed2ae
|
Fix checks on duration, this isnt valid, you cant compare a char* as an int:
else if (parameters[1] == 0)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5480 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 13:32:08 +00:00 |
|
brain
|
852d2a7b81
|
Update syntax help to include HELP and LIST
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5479 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 13:29:17 +00:00 |
|
brain
|
778cac65ef
|
you can't compare userrec::nick with ==, its a char[] buffer...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5478 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 13:27:26 +00:00 |
|
brain
|
1fd1b98ced
|
if (dl) { do_something() } else { delete dl; } ???
no no no, you cannot delete null pointers! :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5477 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 13:23:27 +00:00 |
|
brain
|
b053eb1835
|
Indents all fixed, its all tabs now. Next person i see using spaces is going to get clobbered with the wide end of a tennis racket!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5476 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 13:10:08 +00:00 |
|
brain
|
d32c5c0090
|
More crashbug fixage, half way through indent fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5475 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 13:06:13 +00:00 |
|
brain
|
5fe79dba42
|
This compiles again now -- would have been very unstable in its old state (oopsy)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5474 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 12:52:00 +00:00 |
|
brain
|
a33632a722
|
ReadFlag, oops
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5473 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 12:50:47 +00:00 |
|
brain
|
618a79478a
|
AURGH 4 space indents :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5472 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 12:50:23 +00:00 |
|
brain
|
8c9976bb52
|
GACK! you cannot ConfigReader::ReadValue to a const char*! you need to read to a string :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5471 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 12:45:35 +00:00 |
|
brain
|
9d5915f0d8
|
Fix: DCC types (CHAT/SEND) are case insensitive
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5470 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 12:44:06 +00:00 |
|
brain
|
a7bd84cb31
|
1. Tidy up craq (two strcmps, lowercase and uppercase? use strcasecmp)
2. TABS AND ONLY TABS not eight spaces! :P (or fear the wrath of om and w00t)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5469 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 12:39:36 +00:00 |
|
jamie
|
c21bdadf54
|
Add m_dccallow module and detail configuration in inspircd.conf.example
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5468 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-16 03:07:11 +00:00 |
|
brain
|
0769519487
|
Only tick the timer when there are people doing /LIST, as suggested by special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5461 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-12 20:34:34 +00:00 |
|
special
|
ef70178ea4
|
Fixed a crash when unloading m_safelist (timers weren't properly tracked to be deleted). Someone should seriously consider rewriting this module, or at least seriously overhauling it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5460 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-11 07:46:04 +00:00 |
|
special
|
9f36316d73
|
Fixed percentage in m_tline (division was backwards, so it displayed 200% instead of 50%)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5459 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-09 04:17:41 +00:00 |
|
brain
|
571dedb3ac
|
Update comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5458 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-08 11:48:35 +00:00 |
|
special
|
fad82c2e0d
|
Replaced operonlystats with userstats to improve security
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5456 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-07 21:11:50 +00:00 |
|
brain
|
0c2f9e92e1
|
Add distclean, does the same as squeakclean, just for traditionalists
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5451 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-07 19:18:06 +00:00 |
|
brain
|
dc81d981d2
|
b4 SVN
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5450 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-07 16:53:54 +00:00 |
|
brain
|
c9c0a7f780
|
Oops, marble.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5449 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-07 16:18:30 +00:00 |
|
brain
|
9a07c9d60a
|
Granite!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5447 e03df62e-2008-0410-955e-edbf42e46eb7
v1.1.0b3
|
2006-10-07 16:13:51 +00:00 |
|
brain
|
23eb8eb481
|
Fix (we hope!) for the 'internal error processing connection' bug. Thanks to jamie and shadow for enduring this one while we hunted it down.
Its complicated, bug one of us for more info if youre really interested.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5446 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-07 11:23:40 +00:00 |
|
brain
|
934cf2dafc
|
/me thwaps special for not reading comments :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5445 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 22:14:14 +00:00 |
|
brain
|
888d8e77cd
|
Make this module propogate remote modes by directly calling the MODE command handler rather than using SendMode which would also require spanningtree metadata
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5444 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 22:02:55 +00:00 |
|
brain
|
7e3ccd956d
|
Revert tweak
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5443 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 21:45:27 +00:00 |
|
brain
|
321de93eeb
|
WriteOpers when reaching the softlimit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5442 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 21:35:37 +00:00 |
|
brain
|
fc2daac4fa
|
New example conf with softlimit set to 12800 so that the default doesnt confuse us
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5441 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 21:31:42 +00:00 |
|
brain
|
f83d835cda
|
More.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5440 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 21:21:10 +00:00 |
|
brain
|
a495d22281
|
More debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5439 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 21:08:13 +00:00 |
|
brain
|
8a2bcec0d9
|
Extra debugging
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5438 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 21:00:08 +00:00 |
|
brain
|
457e12e541
|
Make the socketengines always clear the slots on DelFd, even if the underlying queue call fails
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5437 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 19:59:09 +00:00 |
|
brain
|
5b3a9f2af8
|
Add extra debugging for socketengines, will now report OS error string when failing to remove a socket from the queue
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5436 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 19:55:24 +00:00 |
|
brain
|
855f0d98e9
|
Document more classes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5435 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 14:37:51 +00:00 |
|
brain
|
364735e18b
|
Document a ton of classes (e.g. give them a short description for http://svn.inspircd.org/docs/annotated.html)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5434 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 14:23:37 +00:00 |
|
brain
|
a519f21f44
|
Remove a strcpy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5433 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 10:03:22 +00:00 |
|
brain
|
769a14f1b4
|
Update to support modular prefixes, and eliminate some string copying
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5432 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 09:33:56 +00:00 |
|
brain
|
2632def464
|
Optimize some more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5431 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 09:18:26 +00:00 |
|
brain
|
3c401ee4f6
|
...and actually take out the +i restriction
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5430 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 09:17:21 +00:00 |
|
brain
|
9f80dcb281
|
Backport improved NAMES code into m_spy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5429 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 09:16:45 +00:00 |
|
brain
|
82243d9beb
|
Tidy up strlens which are not required
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5428 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 09:09:27 +00:00 |
|
brain
|
f7fa509637
|
And fix typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5427 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 08:28:25 +00:00 |
|
brain
|
ddcf2ef5bc
|
tidy up WriteMode
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5426 e03df62e-2008-0410-955e-edbf42e46eb7
|
2006-10-06 08:20:47 +00:00 |
|