8877 Commits

Author SHA1 Message Date
w00t
2cbb6537d9 Proper testing that executable exists and is an executable, thanks dz.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10689 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-23 14:45:58 +00:00
w00t
f3c3546d54 Remove debug logging, problem over..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10688 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-22 13:27:38 +00:00
w00t
3a5f4f6bd2 Fix MacGyver's rehash woes..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10687 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-22 13:27:37 +00:00
w00t
8dc60e3283 Bit of debug in case this goes wrong again...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10686 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-22 13:27:36 +00:00
w00t
e093c6b953 Only announce Q:Line hits on NICK from unregistered users, thanks satmd.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10685 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-22 10:13:08 +00:00
psychon
ed70b60ad8 First set our group id, then the user id, because we need to be root to set the
group (else it always fails with EPERM).
Plus also call setgroups(0, NULL); to get rid of the supplementary groups.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10684 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-22 09:14:31 +00:00
w00t
f7730d08b6 Remove an extremely noisy piece of debug on startup/rehash - this code works fine anyway
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10683 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-20 22:33:18 +00:00
w00t
32a619dbea Implement <security:runasuser> and <security:runasgroup> - allows for set(g|u)id to drop privs after starting, which can be useful for people who want to bind privileged ports without exposing their anus to a giant cucumber.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10682 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-20 22:12:52 +00:00
brain
e54f28adaf Update nsis installer scripts with new example confs and test.conf
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10681 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-19 12:59:42 +00:00
brain
b5d21fdb65 Yes, Square Meater is a real cow breed. Only aussies would come up with something so funny.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10679 e03df62e-2008-0410-955e-edbf42e46eb7
v1.2.0b2
2008-10-19 12:35:37 +00:00
brain
db3eea2ac4 Default 'noisy' to false. Until i hear from w00t i cant see how this can be of use right now (non-opers get spammed with crap just from doing regular things like joining channels)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10678 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 19:13:25 +00:00
w00t
bb5a5c5bb6 Some documentation corrections, thanks jdhore.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10677 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 17:09:21 +00:00
w00t
b5c1cf4e2c Convert a number of modules to using privs.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10676 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:53:00 +00:00
w00t
4354774fe5 Tie settings in mode and whowas to privs.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10675 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:52:59 +00:00
w00t
a578f50f03 Tie a number of /who settings to servers/auspex and users/auspex respectively.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10674 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:52:58 +00:00
w00t
88ff6a1180 Tie display of realhost in USERHOST to users/auspex priv.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10673 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:52:58 +00:00
w00t
71dc240aa3 Tie /stats that aren't explicitly marked for users into servers/auspex.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10672 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:52:57 +00:00
w00t
fe26d8299d Tie module version display to servers/auspex priv.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10671 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:52:56 +00:00
w00t
dd82cae06e Add priv channels/high-join-limit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10670 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:52:55 +00:00
w00t
63693d8483 Use servers/auspex and users/auspex privs where needed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10669 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:52:55 +00:00
w00t
3faec7ce70 Document users/auspex priv, also clarify documentation a tiny bit to make them sound less mysterious.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10668 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:52:54 +00:00
w00t
9d70c3aead Document servers/auspex priv.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10667 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:52:54 +00:00
w00t
3c055715a2 Implement channels/auspex priv for /names and /list.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10666 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:52:53 +00:00
w00t
dd54c42f5f Document channels/auspex permission: allows opers with this priv to see more information about channels than normal users.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10665 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:52:52 +00:00
w00t
06c42fd04b Document priv users/mass-message.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10664 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:52:51 +00:00
w00t
66cc5f8ff0 Make use of privs for PRIVMSG also.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10663 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:52:51 +00:00
w00t
0d3ecb9642 Working privs implementation, and example usage in NOTICE for mass messaging.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10662 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:52:48 +00:00
w00t
f432839202 Migrate oper commands to an std::set, add a set for privs also. Change the API a bit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10661 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:52:46 +00:00
w00t
ca42e17535 Add skeleton of HasPrivPermission.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10660 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 16:52:44 +00:00
w00t
8ed67ec137 Patch from Namegduf to use established numerics for HELPOP instead of notices.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10659 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18 01:39:35 +00:00
w00t
cd095102f4 Don't neglect calling User::CheckClass after SetClass, so that users don't end up lingering with a NULL class if they shouldn't.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10656 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-17 17:57:46 +00:00
w00t
fe9c0cfc2a Remove space indenting. (Brain, *smack* :P)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10655 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-17 17:57:45 +00:00
w00t
ddb29cf812 Remove the duplicate checking/disabled setting of <connect> craq, there is a (better) way to do this, which is to hunt for a new connect class on all users once /rehash happens.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10654 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-17 17:57:42 +00:00
w00t
b16662a24c Add notices on successful add or remove to callerid list.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10653 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-17 17:36:38 +00:00
aquanight
66ad87a0ec Patch from dz for bug #620, thanks.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10652 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-17 17:17:45 +00:00
peavey
d164d06d1a possible fix for bug #623, reported by MacGyver. Untested please test :D
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10651 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-16 22:53:14 +00:00
brain
dd27303b9e Fixes and improvements from jdhore, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10650 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-16 19:50:48 +00:00
brain
de84022d19 Temporary usable quick conf by jdhore, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10649 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-16 19:36:27 +00:00
brain
cca3f70398 I changed my mind, i uncommented
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10648 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-16 18:07:27 +00:00
special
bef00db0a6 Numerous fixes for m_dccallow - only the first banfile tag mattered, improper behavior with no banfile tags, incorrect check for adding yourself to the dccallow list, and several cosmetic issues.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10646 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-15 23:15:15 +00:00
special
dd501fba3f m_ssl_openssl is sending log messages and calling itself m_ssl_gnutls..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10645 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-15 21:55:00 +00:00
w00t
6cdc212ce7 Add <hidechans:affectsopers>, allows networks to hide channels of a +I user even from opers, for added privacy.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10644 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-15 21:21:38 +00:00
brain
5d3ffb27e0 Modify $copy macros in comments, fixes bug #617
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10643 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-15 09:39:02 +00:00
w00t
6939604e93 hidechans is not oper only.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10642 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-15 08:44:36 +00:00
brain
f963831dff Remove outdated TODO
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10641 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-14 13:14:50 +00:00
w00t
5b061f31cf Don't send an override notice if no modes were actually applied, thanks Ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10640 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-13 11:50:42 +00:00
brain
b43e1b361f Patches for updated config from jdhore, thanks! :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10639 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-12 17:33:29 +00:00
brain
2880171852 Make wget syntax correct for executable includes example
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10638 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-10 21:49:15 +00:00
brain
88822081c5 Latest config file tweaks from jdhore, thanks! :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10637 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-10 21:41:38 +00:00
w00t
24a03cd55b Fix messageflood not working (bug #615). Big thanks to dz.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10636 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-10 14:25:17 +00:00