aboutsummaryrefslogtreecommitdiffstats
path: root/src/umodes.c
Commit message (Expand)AuthorAgeFilesLines
* - Added remove_oper_modes(), which works just like remove_oper_snomasks(),••• and ensures that the user does not have any ircop-only user modes after de-opering. This (only) fixes the just added +I umode case, but could also prevent future bugs. Gravatar Bram Matthys2012-01-221-0/+18
* - New user mode +I (IRCOp only) which hides idle times to other users,••• suggested and patch supplied by Nath & binki (#3953). Gravatar Bram Matthys2012-01-221-0/+2
* - Fix segfault by checking if RESTRICT_USERMODES is NULL in the code for bug ...Gravatar binki2010-08-251-0/+1
* - Remove snomasks upon deopering when it seems like the user shouldn't have s...Gravatar binki2010-08-201-1/+21
* - Moved all TKL code and register_user to modules (using efuncs), that means ...••• and 2000 lines total that can be hotfixed if needed ;). The effort involved in moving all this sucks a lot though :/. This might need some more testing to make sure it doesn't break anything. - Updated support OS list in documentation. Gravatar Bram Matthys2005-06-051-1/+2
* - Module coders: sendto_snomask* now only sends to opers, sendto_snomask_norm...••• to send to normal users w/the snomask set. - Fixed dcc filtering a bit more. - Made usermode 'g' operonly since it didn't do much, reported by DukePyrolator (#0002024). Gravatar Bram Matthys2004-12-031-1/+1
* Exported the isupport functions for use in Windows modules. Added a new snoma...Gravatar codemastr2004-09-041-0/+2
* CmdoverrideAdd, DCCALLOW, allow dcc { }, umode +v change, register_user fix.•••- Module coders: if CmdoverrideAdd() is called for an override that is already in place, it now sets MODERR_EXISTS as errorcode and returns NULL (previously it added duplicates). In the past module coders had many issues with PERM mods... you had to use weird tricks, but now you can (and should!) just override on INIT and on HOOKTYPE_REHASH_COMPLETE. - Moved register_user declaration to h.h, updated call in m_pingpong.c (due new 'ip' field). - Usermode +v ('receive dcc send rejection notices') is oper-only now for privacy reasons. - Added dcc allow { }, which allows one to make exceptions over deny dcc { }. - Added deny dcc::soft and allow dcc::soft item, if set to 'yes' it allows someone to explicitly override it per-person via /DCCALLOW (see next). - Added DCCALLOW system, taken directly from bahamut. With this system you can block certain (or all) DCC SENDs and then allow the user to 'override' this limit for every user he/she trusts via '/DCCALLOW +User'. This is an attempt to stop (or at least limit) the spreading of viruses/etc. See '/DCCALLOW HELP' for more info. - Added example dccallow.conf which filters everything except some known 'safe types' (jpg, jpeg, png, gif, etc). Note that the purpose of this file is NOT to get a complete list, rather to limit it to a few 'known safe' entries. - Added set::maxdccallow: max number of entries of the DCCALLOW list (default: 10). Gravatar Bram Matthys2004-06-101-1/+1
* - Ouch!! Fixed a severe bug which caused opers not being recognized on remote••• servers causing various problems... This was caused by a change 1-2 days ago. Reported by Rocko (#0001537). Gravatar Bram Matthys2004-02-131-1/+4
* - Started using the umode->allowed stuff a bit ourselves, just to be sure.Gravatar Bram Matthys2004-02-101-9/+16
* this should be the last "big commit" before release :p.•••- Added snomasks 'S' (Spamfilter) which notifies you of any spamfilter matches. - [internal] always return after spamfilter match, don't continue looping trough targets list (eg in case of: /msg #a,#b,#c spamspam), otherwise you would get duplicate notification msgs. - Added SENDSNO server command, similar to SENDUMODE but for snomasks, this is used by the spamfilter snomask (+S) so you get network-wide notifications. - Added "compiled for.." versioning system, this way a beta17 module can't be loaded on beta18, etc... People often forgot to recompile their modules or had old ones somewhere by mistake, therefore crashing after upgrades... this should fix this (in the future). Module coders don't have to do anything for making this work, it's done automatically (via modules.h). Gravatar Bram Matthys2004-02-071-0/+2
* - [internal] cleaned up snomask removal after deoper, now remove_oper_snomask...••• called which might look a bit ugly, but is better than before (scattered on 3 places). - Added snomasks 'N' which allows you to see nick changes of clients on other servers, requested by several people (#0001323). Gravatar Bram Matthys2004-02-051-0/+17
* Bug fixes and EXTBAN 005 tokenGravatar codemastr2004-01-081-1/+2
* Multiple changes...•••- Changed some useless stuff. - Enabled EXTCMODE by default, I presume it's stable but can't promise anything. - Module coders: changed 'allowed' callback function for umodes&snomasks, from 'aClient *sptr' to 'aClient *sptr, int what'. 'what' will be MODE_ADD if trying to add and MODE_DEL if trying to remove. Gravatar Bram Matthys2003-10-251-5/+5
* Added umode +T (no ctcp)Gravatar codemastr2003-10-041-0/+2
* - Fixed ~5 compiler warnings at *NIX and ~20 at windows. Some of them _could_...Gravatar Bram Matthys2003-08-311-0/+1
* Module system error reporting supportGravatar codemastr2003-08-241-8/+32
* Fixed a snomask and umode bugGravatar codemastr2003-08-041-0/+26
* Recoded the usermode module systemGravatar codemastr2003-08-031-51/+129
* Added a system to allow modules to create snomasksGravatar codemastr2003-07-011-1/+132
* module umode changesGravatar codemastr2003-04-261-1/+13
* - Fixed usermode +S: was accidently a local usermode (#0000909)Gravatar Bram Matthys2003-04-201-1/+1
* Added usermode +p 'hide channels in whois'Gravatar codemastr2003-03-211-0/+2
* - Fixed some case insensitive checks in configfile parsing, fixed to be case ...•••- Module changes: added two hooks: HOOKTYPE_USERMSG and HOOKTYPE_CHANMSG, changed umode_get. The HOOKTYPE_USERMSG has been tested with a +D (deaf for private msgs except for opers) module, the channel thing not yet... added global/local mode flag to umode_get, or use umode_lget (local) / umode_gget (global) :P. Blah. Gravatar Bram Matthys2003-02-181-26/+38
* - Removed usermode +I (invisibility)Gravatar Bram Matthys2003-02-121-1/+0
* Code (comments) cleanup. Yes very usefull.. ahem ;).Gravatar Bram Matthys2003-02-051-27/+27
* bah src/umodes.cGravatar stskeeps2002-12-161-1/+1
* fuck it allGravatar stskeeps2002-12-161-1/+1
* Cleaned up a bunch of -Wall warningsGravatar codemastr2002-01-271-1/+1
* - Changed umode +I behavoiur to you have to be loading invisibility.so to ha••• the +I functionality. Code is still in IRCd, but isn't used until module is loaded. Loading of this will cause an R to be added to /version flags. Hopefully this will satisify some people's thoughts about a so called spy tool being enabled by default. Also added flag_add(char *) and flag_del(char) for modules to add to flags string. -Sts - Removed -win32 postfix for wircds, look in /version for W instead - Removed ircnetwork part of /version Gravatar stskeeps2002-01-271-1/+0
* Removed umode +T and oflags fueGravatar codemastr2001-12-111-2/+0
* +- Fixed a DEBUGMODE problem with umodes.cGravatar stskeeps2001-10-271-1/+1
* Changed the size of umodestringGravatar codemastr2001-10-161-4/+2
* +- Made umode_delete(flag, mode);Gravatar stskeeps2001-10-161-1/+14
* +- Added umodes.c, long val = get_umode('c');Gravatar stskeeps2001-10-151-0/+172