4524 Commits

Author SHA1 Message Date
brain
677c569364 Remove some debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5602 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 17:50:26 +00:00
brain
857b9beed4 Fix the makefile confusion removal of these headers creates
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5601 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 17:45:34 +00:00
brain
372656dbe5 Update configure, remove a bunch of deprecated makefiles that have been just a #warning for about 1000 revs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5600 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 17:42:09 +00:00
brain
be77f42a97 Incorporate stats p patch by peaveydk (shows port numbers and number of clients on each port)
Tidy up cmd_stats.cpp in general, turn it into a large case statement


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5599 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 17:06:32 +00:00
brain
e81b8faed7 Test commit 2
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5598 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 13:16:59 +00:00
brain
ff6e512046 Test commit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5597 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 13:11:07 +00:00
brain
f66585e27a Whack unused var warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5596 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 08:28:28 +00:00
brain
b6b8c9dac8 Set flags correctly when receiving a module-requested write event
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5595 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 08:21:35 +00:00
brain
6e3dbb2cd7 Tidy up WaitingForWriteEvent stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5594 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 08:16:14 +00:00
brain
83a688082e Fix for crash found by eggy when a user without a cert tries to oper on a fingerprinted oper tag
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5593 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 22:48:51 +00:00
brain
4171efac17 Document SocketEngine::WantWrite()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5591 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 20:51:52 +00:00
brain
1aaee19ee9 Fix broken quits (i broke them by taking out a check i didnt think was required -- it was. RTFS!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5590 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 20:38:32 +00:00
brain
ce82b3bd6b Remove very verbose debugging of event system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5589 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 20:25:08 +00:00
brain
f7379dfaf5 Make this properly obey the write/read states. This ZOOMS now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5588 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 20:01:21 +00:00
brain
2a31fe6038 Select is now done, and some debug removed. Not that anyone really should be using select()...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5587 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 19:49:13 +00:00
brain
b8f4ba8214 fix for (less severe) laggehness
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5586 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 19:31:41 +00:00
brain
320f16fe12 Fix for laggehness
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5585 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 19:31:26 +00:00
brain
46513e8bd2 For users, we now only write when the socketengine says theyre writeable, setting WantWrite after we call userrec::Write().
The old way was to always try and flush the buffer after every read, regardless of wether the socket was writeable


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5584 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 18:59:04 +00:00
w00t
2c1dd9be2b Add m_hidechans: Adds usermode +I to hide an oper's channels from non-opers. Also, we don't want to load a .h in the config, Brain :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5583 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 18:48:41 +00:00
brain
d9147559a3 Not tested yet: Write and read at the same time in kqueue
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5582 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 18:45:04 +00:00
w00t
b27cdbef04 m_hideoper hooked the wrong event, fixed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5581 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 18:40:22 +00:00
brain
dd168c56c9 WARNING: This commit breaks kqueue and select -- work in progress!
epoll now allows both a write and a read event on a socket at the same time.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5580 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 18:22:36 +00:00
brain
2aa6c66308 Test commit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5579 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-29 01:32:14 +00:00
brain
db651797de Add <options:deprotectself> which can allow a +qa user to remove their own +q or +a. The default of having this off makes inspircd act like it always has (only allow ANY removal of these modes via services or a founder)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5578 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 20:07:31 +00:00
brain
494d7f7489 * Fix removal of user modes when unloading the mode letter (this actually works now)
* Fix m_stripcolor channel mode +S (was unsettable as it had some user mode checks in it)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5577 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 19:42:29 +00:00
brain
1085e6aa40 Add and document m_hideoper, used to hide oper status from non-opers.
Note: This module ONLY conceals numeric 313. Any other cloak-and-dagger
private eye stuff you want to do, like setting your host back to a non-
oper host, you must do yourself, this module wont mess with anything else
on your behalf.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5576 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 18:52:54 +00:00
brain
124bc04e84 Fix these too!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5575 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 18:45:13 +00:00
brain
273b3c05c5 And fix typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5574 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 18:42:38 +00:00
brain
94db28f9b3 Add 'dest' parameter to OnWhoisLine, contains the user being whois'ed (we need this for +H and probably the stuff w00t is doing too)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5573 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 18:41:34 +00:00
brain
b7c7e603e9 Dont let users set this mode!!!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5572 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 18:34:52 +00:00
brain
33cfef9463 Fix some next_call stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5571 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 18:16:23 +00:00
brain
034f74a23b Add support for OnWhoisLine, which allows modules to change or drop any line of whois before its sent to a user
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5570 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 18:12:45 +00:00
brain
73d36e20ed Whoops, wrong linfeed type on ADDLINE in netburst
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5569 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 17:26:58 +00:00
brain
3552971818 Needs more testing but seems to work: In DoBackgroundUserStuff(), calculate the time value of when we actually do need enter the function body again, and dont run function body again till that time
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5568 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 17:19:55 +00:00
brain
b132870564 Document <link:timeout>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5567 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 15:34:21 +00:00
brain
959a14ca05 Allow admins to set the socket timeout on server connections
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5566 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 15:32:40 +00:00
brain
44c9c64f60 Give this one a go dotslasher, apply to ALL servers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5565 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 15:22:58 +00:00
brain
ed16793cee And so does my coding on a saturday afternoon...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5564 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 13:49:48 +00:00
brain
8cf04b546c I HATE YOU DEBIAN, YOU AND YOUR WHOLE OPERATION STINK
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5563 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 13:48:55 +00:00
brain
d9b74b49d9 Try this, werdnum
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5562 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 13:28:21 +00:00
brain
f5d7229121 Remove ancient copy-to-tmp system for modules, this is no longer required so long as we keep using 'install' to overwrite the files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5561 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 12:57:31 +00:00
brain
89b95b2327 Fix for crash, submitted by peaveydk
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5560 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 11:43:42 +00:00
brain
ae23edb398 Unknown change here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5559 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 11:41:38 +00:00
special
e3ac0dbb56 Removed a bit of unreachable code I added with the last commit (thanks peaveydk)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5558 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 05:07:00 +00:00
special
c742276f84 Return CMD_FAILURE from sajoin when given an invalid nickname (thanks Ares)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5557 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28 04:55:46 +00:00
brain
bfdb4a75ff <pid file> is no longer a manditory tag (thanks dotslasher)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5556 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-27 20:09:15 +00:00
brain
e63eb1ff79 When loading, dont try and free the qa modes, we havent allocated them yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5555 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-27 15:44:30 +00:00
brain
2579e83d3d Smart trick: the 'build complete' message is now a makefile section of its own which depends on 'ircd' and 'mods', so when using -j, the rest of the processes will wait to complete before displaying the message ;)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5554 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-27 14:08:52 +00:00
brain
531b6fdbf6 Have 'make install' make the directories, its really make install's job and not configure's.
Note that configure may still try to make the dirs anyway, e.g. if you are generating ssl certs


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5553 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-27 14:03:25 +00:00
brain
ac10df6cc6 Update changelog
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5552 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-27 10:10:01 +00:00