Bram Matthys
bbb121383b
Add who-may-execute-this in many CommandAdd()'s. Trying to remove all "unspecified" (0) ones... hopefully I made no mistake in this ;)
...
Update remote-permission check in ValidatePermissionsForPath to check at least IsOper.. may save us from some serious mistakes ;)
2015-07-12 15:32:11 +02:00
Bram Matthys
e8dfb284a1
Replace parv[0] with sptr->name. Don't use parv[0] anymore.
...
I went through all 500+ of them by hand as to avoid introducing bugs... we'll see ;)
2015-07-10 12:17:05 +02:00
Travis McArthur
fc38b1336a
Update security in m_stats
2015-07-09 13:39:08 -07:00
Travis McArthur
2450909c26
Change name of OperEval...
2015-07-09 12:31:45 -07:00
Bram Matthys
fe14e21175
Update all MOD_TEST/MOD_INIT/MOD_LOAD/MOD_UNLOAD calls to new format
2015-07-08 18:02:19 +02:00
Travis McArthur
752a34011d
Remove IsAnOper
2015-07-06 18:09:37 -07:00
Travis McArthur
b4e353d6e2
Refactor m_stats permission
2015-07-05 12:04:39 -07:00
Bram Matthys
bf56672249
remove set::hosts. use oper::vhost instead.
2015-06-26 09:22:33 +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
Bram Matthys
e49563fc7c
Ugly oper::from::userhost is now oper::mask, vhost::from::userhost is now vhost::mask.
...
Coders: added generic mask functions: unreal_mask_match(), unreal_add_masks() and unreal_delete_masks().
These deal with one or multiple masks and do all the work for you ;)
2015-06-03 09:57:24 +02:00
Bram Matthys
8049136379
Restructure the entire link { } block ( #4032 ). Initial commit (missing autoconnect, ssl, etc).
2015-05-25 10:19:15 +02:00
Travis McArthur
aea09603a4
Remove USE_SSL macro and associated code
...
We no longer support non-SSL builds, remove related code
2015-05-20 02:48:34 -04:00
Bram Matthys
ee00bb2801
oh come on...
2014-07-20 21:26:36 +02:00
Travis McArthur
ec294b1373
Fix build for clang
2014-07-05 12:47:03 -07:00
Heero
e75cb1709d
[4246] Add set::link::bind-ip option to set default bind ip for link blocks
2014-06-03 23:39:30 -07:00
Bram Matthys
101d2dd6a3
Big 3.4.x commit containing bug fixes and enhancements. Modularizing
...
user & channel modes. Fixing Windows build. Etc..
2014-05-11 20:56:02 +02:00
William Pitcock
17f2ac31c5
- warning fixes
2013-05-24 23:13:32 +00:00
William Pitcock
afdf5d780a
- Replace ircsprintf() with bounds-checking ircsnprintf(), patch from FalconKirtaran. ( #4208 )
2013-05-21 06:26:52 +00:00
William Pitcock
d8d3156f43
- dbuf vestige cleanup: missed a spot
2013-05-20 16:39:34 +00:00
William Pitcock
b413848524
- TOK_FOO removal pass 2
2013-05-19 21:40:45 +00:00
William Pitcock
ca86485927
- Remove token parameter from CommandAdd().
2013-05-19 21:27:26 +00:00
William Pitcock
c41ca43145
- Remove ziplinks support, patch from FalconKirtaran. ( #4189 )
2013-05-16 06:36:13 +00:00
William Pitcock
4b9370b0a3
- Remove references to hunt_server_token() in modules.
2013-05-13 22:03:07 +00:00
William Pitcock
c47c75f103
- parser: remove TokenHash and related code
2013-05-13 04:35:00 +00:00
William Pitcock
2eb684000f
- Add support for configuring a shorter nick-length. ( #3042 )
2013-05-07 04:12:19 +00:00
William Pitcock
b704ec74ec
- Display server-only ports in /stats p only to IRCops. ( #4010 )
2013-05-06 05:14:24 +00:00
William Pitcock
71c471fb33
- Display allow-userhost-change setting in /stats. ( #3668 )
2013-05-06 04:26:36 +00:00
William Pitcock
3bdae5807d
- Remove NEWCHFLOODPROT define and old +f code. ( #3210 )
2013-01-14 03:44:49 -06:00
William Pitcock
f9a78be185
- Remove WebTV code, part 1. ( #3948 )
2013-01-14 03:21:42 -06:00
William Pitcock
1678fc2013
- Revert parts of r5199 that shouldn't have been included yet
2013-01-14 02:41:47 -06:00
William Pitcock
424d7afba7
- Remove all references to add_Command(). ( #3177 )
2012-12-26 19:57:35 -06:00
William Pitcock
ec09c447e5
- Remove defines FAST_BADWORDS_REPLACE, THROTTLING, EXTCMODE. ( #2937 )
...
The code does not compile without them anyway.
2012-11-25 17:45:45 +00:00
William Pitcock
2ea5301896
- Rework the listener system to not use Client table entries.
2012-11-25 02:46:39 +00:00
William Pitcock
562c30d58d
- More conversion to lclient_list and friends.
2012-11-25 01:52:08 +00:00
William Pitcock
f09b1ac4d4
- Rename aClient.client_list to aClient.client_node to avoid confusion
2012-11-21 23:03:28 +00:00
William Pitcock
9853fa54f4
- Rework the client management code to use a circular queue and set of
...
circular queues for hashtable.
2012-11-21 22:49:32 +00:00
William Pitcock
856be31a8d
- Exorcize HTM (heavy traffic mode) from Unreal.
...
This is partially for the sake of Stskeeps, even though he left the
project long ago, but mainly so we can work towards dynamic ticks in
the event loop while guaranteeing latencies for connected clients,
even with fakelag.
2012-11-05 05:49:04 +00:00
William Pitcock
b26207df50
- Add support for proper FD accounting (rewrite of the fdlist code).
...
This is the first step to adding evented I/O. Infact, writing the evented I/O code
should now be quite easy.
2012-10-05 03:42:44 +00:00
Bram Matthys
9c12b0e896
- Even when 'M' was listed in set::oper-only-stats you could still do a
...
'/STATS m'. Unlike other stats characters, case insensitivity was not
checked for this one. Reported by and patch from Apocalypse (#4086 ).
2012-02-26 10:29:20 +01:00
Bram Matthys
643355b387
- Added set::options::allow-insane-bans which makes it possible to set
...
really broad bans such as *@*.xx. Needless to say this can be very
dangerous. Reported and patch provided by Stealth (#0003963 ).
2010-11-15 16:23:02 +00:00
Bram Matthys
1e5e60d635
- Fixed race condition / reference count issue where an outgoing server connect
...
would cause the IRCd to crash. Reported by Monk (#0003913 ).
2010-06-21 12:27:45 +00:00
Bram Matthys
ad693eebcb
- Fixed crash in /STATS Z (possibly rare), reported by yasinbey ( #0002929 ).
2006-05-28 18:08:48 +00:00
Bram Matthys
e0b116a663
- Hide stats request if requested by an U-lined client. Suggested by vonitsanet ( #0002865 ).
2006-04-09 19:34:36 +00:00
Bram Matthys
a7e3aa01b7
- Made it so you no longer can change your nick to a banned one in a channel, suggested
...
by vonitsanet (#0002388 ), partial patch provided by Nazzy.
This option can be turned off by setting set::check-target-nick-bans to 'no'.
2005-11-10 23:39:12 +00:00
Bram Matthys
eddb406807
- Removed all old resolver code and switched over to c-ares (+our caching routines).
...
This should get rid of some annoying untracable (and usually rare) crashbugs in the
old resolver. Besides that, it makes things look more clean and understandable.
This should be the fix for the following bugids (all the same issue): #2499 , #2551 , #2558 ,
#2559 , #2603 , #2642 , #2502 , #2501 , #2618 , #2616 .
Feedback and testing is very much welcomed (syzop@unrealircd.com ).
2005-10-10 14:32:12 +00:00
Bram Matthys
2a1bd9e244
- Fixed a doc typo, reported by SDF_of_BC.
2005-02-23 22:05:55 +00:00
codemastr
a86c75bfb4
Fixed some problems with the /stats help and documentation
2005-01-29 17:22:54 +00:00
codemastr
839efd901a
Added invite exceptions (+I)
2005-01-29 16:55:30 +00:00
codemastr
c2224bc5fd
Made /stats E include tkl except stats as well
2005-01-22 18:39:33 +00:00
codemastr
64d8a67f4a
makefile.win32
2005-01-22 18:34:09 +00:00