Bram Matthys
bf56672249
remove set::hosts. use oper::vhost instead.
2015-06-26 09:22:33 +02:00
Bram Matthys
4e4efd2d38
make oper::vhost actually work
2015-06-26 09:18:18 +02:00
Bram Matthys
e3f70594f2
Fix compile problem / upgrade op_can_override()
2015-06-26 09:17:24 +02:00
Travis McArthur
10bfb21321
Remove most of OPCan functionality - more later
2015-06-25 21:46:55 -07:00
Bram Matthys
8fc202a6a6
'make clean' did not clean src/modules/{usermodes,chanmodes,snomasks,extbans}
2015-06-25 22:44:37 +02:00
Bram Matthys
80362e0d9c
Fix compile warnings (and possibly a crash in dcc deny code introduced a week or so ago)
2015-06-25 22:38:22 +02:00
Bram Matthys
0f2af3f506
current 3.4.x git is really bleeding edge now, come back in a day or so:
...
* remove netadmin, services-admin, admin, co-admin.
* remove all oper flags (there are some placeholders for the next... <24hrs..)
* ADMINCHAT and NACHAT are gone, since admin & netadmin no longer exist
* SVSO used oper flags, but this no longer exists, SVSO removed. maybe later we can add some sort of replacement.. maybe..
* re-style the m_oper code a bit
2015-06-25 22:26:53 +02:00
Travis McArthur
1e525cbf93
Update Config to handle directory creation
2015-06-24 17:31:38 -07:00
Travis McArthur
10d6fe2651
Remove old announcements based on "admin" perms
2015-06-24 19:25:45 -04:00
Travis McArthur
527a00dafa
More ACL work, rip out *admin support (mostly...)
...
Not totally tested - I validated it built, I validated ACL validation worked, I validated that most of the ripped out functionality seemed to be absent, eg: we still set the modes (backwards compat w/ services?) but we don't actually check them anywhere, or add them to your whois.
2015-06-24 19:17:40 -04:00
Bram Matthys
dfbc913013
The default set of modules (full functionality) is now called modules.default.conf
...
Added operclass.default.conf which I will later expand after I see more of Heero's work ;)
2015-06-24 18:54:05 +02:00
Bram Matthys
bcc95f67d6
Give 3.2.x users some directory hints if they try to do things the 3.2.x way.
2015-06-24 17:57:12 +02:00
Bram Matthys
5d64a2ff43
Update release notes for alpha4 (unfinished)
2015-06-24 17:29:34 +02:00
Bram Matthys
5286b50c19
We already set the IP in add_connection, no need to do that in check_init again.
...
Fix bug where "insecure link" message was shown despite localhost.
2015-06-22 20:49:40 +02:00
Bram Matthys
d7e9d00e57
Update help.conf to reflect the new modes that are available to halfops
2015-06-22 19:31:14 +02:00
Bram Matthys
efc63dff81
Permit halfops to set more modes than before. The idea is halfops should be able to help out in case of a flood but not be able to change any 'policy decission' modes such as +G, +S, +c, +s.
...
The following modes are now permitted to halfops: +iklmntMKNCR (was: +ikmnt)
2015-06-22 19:29:32 +02:00
Bram Matthys
82d21bf2d9
Perhaps it would be wise to PING servers. Just an idea, mr nenolod.
2015-06-22 19:05:02 +02:00
Bram Matthys
2bbe696df9
example.conf: it's link::password and not link::outgoing::password. Reported by Micko_.
2015-06-22 16:59:36 +02:00
Bram Matthys
3a27176969
Fix compile problem on x86 (32 bit): undefined reference to `_BF_body_r', reported by Micko_.
2015-06-22 13:33:57 +02:00
Bram Matthys
da8e60bd7e
Set permissions on (built-in) UmodeAdd & SnomaskAdd correctly.
2015-06-21 21:04:35 +02:00
Bram Matthys
f819004deb
Make MODE SVSMODE SVSNOOP SVSO all use remove_oper_modes and remove_oper_snomasks. Much better now.
2015-06-21 20:58:51 +02:00
Bram Matthys
dd3c4ac4f4
Insert an extra parameter in UmodeAdd and SnomaskAdd to indicate "unset this on de-oper". Safer and better than in XYZ places in the code.
2015-06-21 20:37:53 +02:00
Bram Matthys
329700f745
Make Snomask +s oper-only. Has always been confusing that it wasn't.
2015-06-21 20:15:26 +02:00
Bram Matthys
c0f18b3e8e
Replace user mode +v ("victim", receive infected DCC notices) with snomask +D (modules/snomasks/dccreject).
2015-06-21 19:48:13 +02:00
Daniel Tan
3eead2069c
Merge pull request #4 from unrealircd/unreal34
...
Merge from unreal34 branch
2015-06-21 20:42:24 +08:00
Bram Matthys
7f5f26d0d8
Move user mode +R to usermodes/regonlymsg
2015-06-21 11:14:24 +02:00
Bram Matthys
9aa21c205f
Whoops. Only hide channels if actually umode +p and not everyone :D
2015-06-21 11:01:39 +02:00
Bram Matthys
8866793bdb
Move user mode +p to usermodes/privacy
2015-06-21 10:40:25 +02:00
Bram Matthys
4e748b7635
Make WHO use HOOKTYPE_SEE_CHANNEL_IN_WHOIS as well in first_visible_channel()
2015-06-21 10:37:05 +02:00
Bram Matthys
c9523e962d
Added HOOKTYPE_SEE_CHANNEL_IN_WHOIS. Make umode +S use it to hide channels.
...
Also make the '?' and '!' prefixes in channels in /WHOIS output more generic:
both mean you only get to see the channel because you are an ircop, but:
'?' means the channel is +s/+p too (so take extra care)
and '!' means the channel is public but for other reasons hidden in /WHOIS, like umode +p (later) or umode +S.
2015-06-21 10:22:16 +02:00
Bram Matthys
16367b7020
cleanup deop and can kick call code (and fix bugs)
2015-06-21 10:21:46 +02:00
Bram Matthys
8cb381cc8e
Move user mode +S to usermodes/servicebot.
...
TODO: hide channels in /WHOIS and some more testing. Tomorrow.. ;)
2015-06-20 21:09:17 +02:00
Bram Matthys
489230cebf
Move user mode +q to usermodes/nokick
2015-06-20 20:05:33 +02:00
Bram Matthys
0ed4171bcc
helps if I add the showwhois.c file
2015-06-20 18:58:16 +02:00
Bram Matthys
10dd6267de
Move user mode +W to usermodes/showwhois
2015-06-20 18:56:08 +02:00
Bram Matthys
69fa434a0c
Removed helpop user mode (not the command) since nowadays it does nothing but add a title to whois. You can use swhois for that, like via vhost::swhois.
2015-06-20 18:42:53 +02:00
Bram Matthys
4ae1eb23f0
Move user mode +B to usermodes/bot module.
...
Also add HOOKTYPE_WHO_STATUS.
2015-06-20 18:30:57 +02:00
Bram Matthys
8ac3906e1f
improve header in modules.full.conf
2015-06-20 15:16:04 +02:00
Bram Matthys
9213d7ca5f
some more updates to modules.full.conf
2015-06-20 15:12:08 +02:00
Bram Matthys
35459eedbd
modules.conf makeover: group modules a bit more
2015-06-20 14:57:29 +02:00
Bram Matthys
bf02cfcc15
update with new conf locations & suggestions from dboyz
2015-06-20 14:10:23 +02:00
Bram Matthys
9e221caa85
remove mysterious keys/ directory
2015-06-20 13:54:07 +02:00
Bram Matthys
ed9022b18b
remove badword quit { } and simply use badword channel { } instead.
...
update upgrade-conf to handle the badwords changes
2015-06-20 13:51:21 +02:00
Bram Matthys
d99d01e30b
ship with modules.full.conf (rather than modules.conf) and add note as to not to edit this file directly.
...
add updconf stuff for new layout (badwords, help, etc)
2015-06-20 13:40:20 +02:00
Bram Matthys
2a0c806289
mass move doc/example*conf and doc/help*conf
2015-06-20 12:26:40 +02:00
Bram Matthys
def73ee72f
replace badwords.xxxx.conf with just one badwords.conf
2015-06-20 12:20:24 +02:00
Bram Matthys
7844f70775
make tmp and cache actually use TMPDIR and CACHEDIR
2015-06-20 12:13:08 +02:00
Bram Matthys
b1b771c437
unrealircd script:
...
* detect "ircd not running" situations better
* ./unrealircd stop now kills the ircd in a more friendly matter.
* if you run './unrealircd restart' it will now also start the ircd even if it was not presently running.
2015-06-20 11:27:16 +02:00
Bram Matthys
12dfccf5d1
ircd.pid -> unrealircd.pid
2015-06-20 11:08:13 +02:00
Bram Matthys
0a0a62a9cc
If we failed to listen on any IRC port then fatal error.
...
Apparently neno.. ripped out this code so you could like run './unrealircd
start' 5 times and would then have 5 ircds running, of which 4 were not doing
particularly useful things.
2015-06-20 11:02:18 +02:00