Jilles Tjoelker
b1ace057a7
Avoid empty strings in various notices about rejected server connections.
...
These come from the name field which is empty for unknown
connections attempting to become a server.
Instead, put [@255.255.255.255] just like ratbox3 does.
2008-09-05 22:56:59 +02:00
Jilles Tjoelker
7d4287591f
Improve server notices for servers introducing existing servers.
2008-09-05 22:52:39 +02:00
Jilles Tjoelker
8e34ffc66e
Improve server notices about duplicate SIDs.
...
Note that this is checked after duplicate server names,
so it can only happen if multiple servers have the
same SID configured.
2008-09-04 01:41:49 +02:00
Jilles Tjoelker
b92d34adc1
Do not use get_oper_name() for a netwide server notice, it may be confusing.
2008-09-02 23:44:06 +02:00
Jilles Tjoelker
477dc2e926
Correct spelling of oper:remoteban in example.conf.
2008-09-02 23:42:51 +02:00
Jilles Tjoelker
3fe1c72819
oper:adminwall priv seems meaningless, remove it.
2008-09-02 23:40:22 +02:00
Valeriy Yatsko
41d8802e84
We don't want to leave the isupport name in the extension memory space on changing it - fixed a bug (tnx Artem@IrcNet(RU))
2008-08-31 03:57:27 +04:00
William Pitcock
5d47bdca0f
Make change_isupport() return the old value!!!
2008-08-29 15:36:41 -05:00
William Pitcock
474b0d3515
Add change_isupport() to change the value of an ISUPPORT token.
2008-08-29 15:27:34 -05:00
William Pitcock
86b6be08eb
Automated merge with ssh://hg.atheme.org//hg/charybdis
2008-08-29 14:48:06 -05:00
Stephen Bennett
9f1bde2683
don't set an empty password or auth_user
2008-08-29 14:47:51 -05:00
William Pitcock
4bb1bfdbc4
Automated branch merge.
2008-08-29 14:46:39 -05:00
William Pitcock
917e9b1ab4
Backed out changeset 7f24e5f3fb86
2008-08-29 14:46:19 -05:00
Stephen Bennett
12f4addbed
If auth_user and server password were given and not used, use auth_user as an account name in the nickserv identify command
2008-08-29 14:45:30 -05:00
Stephen Bennett
81c7f48295
If auth_user and server password were given and not used, use auth_user as an account name in the nickserv identify command
2008-08-29 14:45:22 -05:00
Jilles Tjoelker
d7dc7ae6c1
Remove some dead code.
...
found using llvm static analyzer
2008-08-29 02:53:52 +02:00
Jilles Tjoelker
ab2b9e23cc
Fix a memory leak.
...
found using llvm static analyzer
2008-08-29 01:58:10 +02:00
Jilles Tjoelker
03c1fe2153
Make genssl.sh work.
...
Submitted by jdhore.
2008-08-29 01:34:18 +02:00
Jilles Tjoelker
d60a42a27f
Fix comment, getsockname() can fail legitimately.
...
from ircd-ratbox r25967 (jilles)
2008-08-28 01:06:19 +02:00
Jilles Tjoelker
9692f954c6
Don't try to add a closed connection.
...
ircd-ratbox r25965 (jilles)
2008-08-28 01:05:41 +02:00
Jilles Tjoelker
3540120ad5
Fix ident for ssl connections.
2008-08-28 00:49:04 +02:00
Jilles Tjoelker
e4bb4f3645
Remove another remnant of server hostmasking.
2008-08-26 00:00:11 +02:00
Jilles Tjoelker
e27ac6024d
ssld: un #if 0 the /dev/null stuff out
2008-08-25 18:48:30 +02:00
Jilles Tjoelker
83dfad0e75
Clear privset on deoper.
2008-08-25 18:24:24 +02:00
Jilles Tjoelker
7d5acab766
Fix crash if there is no privset= in an operator{}.
2008-08-18 00:55:12 +02:00
Jilles Tjoelker
bdd296d5b9
Use C locale for the compilation date.
2008-08-17 22:55:57 +02:00
William Pitcock
a8240d5c43
update TODO
2008-08-17 09:30:31 -05:00
William Pitcock
b501097030
privset example: Add a privset for local bots like BOPM and TCMs.
2008-08-17 08:58:34 -05:00
William Pitcock
50f2579264
m_privs: Add stuff for privsets here too.
2008-08-17 08:56:40 -05:00
William Pitcock
f37fc9389b
HasPrivilege(): check to make sure localClient and localClient.privset are non-NULL.
2008-08-17 08:52:04 -05:00
William Pitcock
880c94adb4
/stats o: display name of privset instead of privs
2008-08-17 08:40:10 -05:00
William Pitcock
6ac9e53ee4
All modules converted to use privsets by porting the macro over.
...
New macro, HasPrivilege() does most of the work here, the old IsOper*() macros
are deprecated, and will likely be removed later.
2008-08-17 08:36:17 -05:00
William Pitcock
ef24271618
Make a reference to privset in Client.localClient.
2008-08-17 08:23:40 -05:00
William Pitcock
598b4cf10c
privilegeset_ref(): return the privilegeset
2008-08-17 08:22:56 -05:00
William Pitcock
49b0375d62
Make use of the new default privset!!
2008-08-17 08:08:23 -05:00
William Pitcock
39a68b5376
ircd initialization: add a "default" privset with no privs.
2008-08-17 08:06:28 -05:00
William Pitcock
5c68d54336
Automated merge with ssh://hg.atheme.org//hg/charybdis
2008-08-17 07:53:32 -05:00
William Pitcock
e62b8b4a53
update oper line
2008-08-17 07:53:29 -05:00
Jilles Tjoelker
8c59a8403b
Add 328 numeric (ChanServ channel URL) to the header files.
2008-08-17 14:49:01 +02:00
William Pitcock
76de88805d
same bug
2008-08-17 07:47:06 -05:00
Jilles Tjoelker
f11d08a405
Remove another servlink remnant.
2008-08-17 14:46:29 +02:00
William Pitcock
065f67db89
fix another stupid bug, gah
2008-08-17 07:46:18 -05:00
William Pitcock
f80958276f
Make sure extended privilege sets are added to the registry.
2008-08-17 07:44:46 -05:00
William Pitcock
3d8f7aa7b4
Allow : to be in 'string' values.
2008-08-17 07:41:52 -05:00
William Pitcock
22c3b270ca
Initial work on getting privsets working.
2008-08-17 07:40:27 -05:00
William Pitcock
a2e1310cbe
oper_conf structure: add privset association.
2008-08-17 07:32:30 -05:00
William Pitcock
be52582805
Add some privsets for opers here.
2008-08-17 07:17:25 -05:00
William Pitcock
f860687514
Add config magic for privset{} parsing.
2008-08-17 07:10:23 -05:00
William Pitcock
353f862553
Add privilegeset_extend().
2008-08-17 06:35:49 -05:00
William Pitcock
9c3f080b99
Add basic PrivilegeSet API.
2008-08-17 06:27:59 -05:00