]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
18 years agoAdd interface to AddModeWatcher and DelModeWatcher into class Server
brain [Mon, 10 Jul 2006 12:53:29 +0000 (12:53 +0000)]
Add interface to AddModeWatcher and DelModeWatcher into class Server

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4267 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdded ModeParser::AddModeWatcher() and ModeParser::DelModeWatcher()
brain [Mon, 10 Jul 2006 12:46:03 +0000 (12:46 +0000)]
Added ModeParser::AddModeWatcher() and ModeParser::DelModeWatcher()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4266 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd HAS_STDINT checks here, this had been sitting not in extra/ and using stdint...
om [Mon, 10 Jul 2006 07:06:37 +0000 (07:06 +0000)]
Add HAS_STDINT checks here, this had been sitting not in extra/ and using stdint.h for aaaages anyway...

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4264 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix for compiler warning
brain [Mon, 10 Jul 2006 02:45:07 +0000 (02:45 +0000)]
Fix for compiler warning

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4263 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoSupport for systems without stdint.h (we make a guess at sizeof(unsigned int) ==...
brain [Mon, 10 Jul 2006 02:34:58 +0000 (02:34 +0000)]
Support for systems without stdint.h (we make a guess at sizeof(unsigned int) == 32... if youre running an outdated OS its your own fault)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4261 e03df62e-2008-0410-955e-edbf42e46eb7

18 years ago#ifdef's around stdint.h include
brain [Mon, 10 Jul 2006 02:32:27 +0000 (02:32 +0000)]
#ifdef's around stdint.h include

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4260 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoUpdated to detect stdint (same fix as 1_0_stable branch)
brain [Mon, 10 Jul 2006 02:30:45 +0000 (02:30 +0000)]
Updated to detect stdint (same fix as 1_0_stable branch)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4259 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoUpdate docs to indicate _ to space
brain [Sun, 9 Jul 2006 22:18:42 +0000 (22:18 +0000)]
Update docs to indicate _ to space

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4256 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdded Spacify() function local to cmd_whois.cpp which translates _ in oper names...
brain [Sun, 9 Jul 2006 22:14:26 +0000 (22:14 +0000)]
Added Spacify() function local to cmd_whois.cpp which translates _ in oper names to " "

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4254 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoBeat ya:
brain [Sun, 9 Jul 2006 21:29:17 +0000 (21:29 +0000)]
Beat ya:

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4253 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd missing Server::AddMode()
om [Sun, 9 Jul 2006 21:28:26 +0000 (21:28 +0000)]
Add missing Server::AddMode()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4252 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd stuff for propogating mode out on +f * ban
brain [Sun, 9 Jul 2006 20:11:12 +0000 (20:11 +0000)]
Add stuff for propogating mode out on +f * ban

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4247 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTidyup
brain [Sun, 9 Jul 2006 20:01:37 +0000 (20:01 +0000)]
Tidyup

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4244 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agosend_mode event for spanningtree (this will be backported to stable as its really...
brain [Sun, 9 Jul 2006 19:59:40 +0000 (19:59 +0000)]
send_mode event for spanningtree (this will be backported to stable as its really a bugfix too (honest!))

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4243 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFinally finished documenting new mode parser. Lots of comments.
brain [Sun, 9 Jul 2006 19:22:04 +0000 (19:22 +0000)]
Finally finished documenting new mode parser. Lots of comments.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4242 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoSame here, tidy up the parameter to show what we actually stored (e.g. 1:5fdfds ...
brain [Sun, 9 Jul 2006 18:07:54 +0000 (18:07 +0000)]
Same here, tidy up the parameter to show what we actually stored (e.g. 1:5fdfds -> 1:5)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4241 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTidy up invalid numbers passed to this function
brain [Sun, 9 Jul 2006 18:05:39 +0000 (18:05 +0000)]
Tidy up invalid numbers passed to this function

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4240 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix whoopsies
brain [Sun, 9 Jul 2006 17:59:42 +0000 (17:59 +0000)]
Fix whoopsies

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4239 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdded Server::GetModuleName(), Module* to filename
brain [Sun, 9 Jul 2006 17:56:43 +0000 (17:56 +0000)]
Added Server::GetModuleName(), Module* to filename

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4238 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoReorder to avoid warning.
brain [Sun, 9 Jul 2006 17:37:36 +0000 (17:37 +0000)]
Reorder to avoid warning.
We could make the autotidy stuff part of the 'check argument' virtual method in banexception and inviteexception at a later date?

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4237 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAltered u_listmode to have a constructor arg 'autotidy' which if set to true runs...
brain [Sun, 9 Jul 2006 17:36:30 +0000 (17:36 +0000)]
Altered u_listmode to have a constructor arg 'autotidy' which if set to true runs input through ModeParser::CleanMask() otherwise leaves it alone

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4236 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAnd we're all done!!! (well, it compiles, anyway)
brain [Sun, 9 Jul 2006 17:31:53 +0000 (17:31 +0000)]
And we're all done!!! (well, it compiles, anyway)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4235 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoConvert to new api
brain [Sun, 9 Jul 2006 17:23:12 +0000 (17:23 +0000)]
Convert to new api

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4234 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd support for new API
brain [Sun, 9 Jul 2006 17:09:28 +0000 (17:09 +0000)]
Add support for new API

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4233 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMove to new api
brain [Sun, 9 Jul 2006 16:48:55 +0000 (16:48 +0000)]
Move to new api

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4232 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAlter SetModeParam to take const char* to save on casts, notice a load of modules...
brain [Sun, 9 Jul 2006 16:40:58 +0000 (16:40 +0000)]
Alter SetModeParam to take const char* to save on casts, notice a load of modules that arent setting the param or the mode inside the handler

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4231 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoPort to new API
brain [Sun, 9 Jul 2006 16:22:55 +0000 (16:22 +0000)]
Port to new API

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4230 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoPort to new API
brain [Sun, 9 Jul 2006 16:16:01 +0000 (16:16 +0000)]
Port to new API

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4229 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix for new API
brain [Sun, 9 Jul 2006 16:08:17 +0000 (16:08 +0000)]
Fix for new API

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4228 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoConvert to new api
brain [Sun, 9 Jul 2006 15:55:26 +0000 (15:55 +0000)]
Convert to new api

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4227 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoPort to new API
brain [Sun, 9 Jul 2006 15:39:50 +0000 (15:39 +0000)]
Port to new API

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4226 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoPort to new api
brain [Sun, 9 Jul 2006 15:32:37 +0000 (15:32 +0000)]
Port to new api

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4225 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoPort to new API (last mode that has akward parameters done, yay!)
brain [Sun, 9 Jul 2006 15:14:14 +0000 (15:14 +0000)]
Port to new API (last mode that has akward parameters done, yay!)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4224 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoPort to new API
brain [Sun, 9 Jul 2006 15:00:24 +0000 (15:00 +0000)]
Port to new API

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4223 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFixed for new API
brain [Sun, 9 Jul 2006 14:53:49 +0000 (14:53 +0000)]
Fixed for new API

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4222 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFixed for new api
brain [Sun, 9 Jul 2006 14:44:51 +0000 (14:44 +0000)]
Fixed for new api

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4221 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix to compile (we had never got this far to find out if it did)
brain [Sun, 9 Jul 2006 14:28:06 +0000 (14:28 +0000)]
Fix to compile (we had never got this far to find out if it did)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4220 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix for new API
brain [Sun, 9 Jul 2006 14:27:40 +0000 (14:27 +0000)]
Fix for new API

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4219 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFixed m_globops for new api
brain [Sun, 9 Jul 2006 14:20:22 +0000 (14:20 +0000)]
Fixed m_globops for new api

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4218 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoGah, im forgetting to SetMode!
brain [Sun, 9 Jul 2006 14:08:29 +0000 (14:08 +0000)]
Gah, im forgetting to SetMode!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4217 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFixed sslmodes
brain [Sun, 9 Jul 2006 14:04:07 +0000 (14:04 +0000)]
Fixed sslmodes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4216 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoUpdates to new API
om [Sun, 9 Jul 2006 14:00:08 +0000 (14:00 +0000)]
Updates to new API

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4215 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoStripcolor completed
brain [Sun, 9 Jul 2006 13:51:33 +0000 (13:51 +0000)]
Stripcolor completed

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4214 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoStripcolor not finished yet.
brain [Sun, 9 Jul 2006 13:41:29 +0000 (13:41 +0000)]
Stripcolor not finished yet.
Add security check into censor and botmode (om you will need this in cloaking) which prevents non-opers from changing other users modes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4213 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTweak mode parser so that oper-only modes are only enforced on local clients, so...
brain [Sun, 9 Jul 2006 13:28:41 +0000 (13:28 +0000)]
Tweak mode parser so that oper-only modes are only enforced on local clients, so that during a burst the remote server can set them and we dont get desyncs

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4212 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMake it compile... >_<
om [Sun, 9 Jul 2006 13:22:56 +0000 (13:22 +0000)]
Make it compile... >_<

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4211 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMove to stack-allocated OnRehash()-local ConfigReader *duck*
om [Sun, 9 Jul 2006 13:21:58 +0000 (13:21 +0000)]
Move to stack-allocated OnRehash()-local ConfigReader *duck*

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4210 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMore copy/paste fixes
brain [Sun, 9 Jul 2006 13:16:53 +0000 (13:16 +0000)]
More copy/paste fixes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4209 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoGive modeclasses access to Server* Srv via constructor
brain [Sun, 9 Jul 2006 13:16:02 +0000 (13:16 +0000)]
Give modeclasses access to Server* Srv via constructor

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4208 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMore typo fixes
brain [Sun, 9 Jul 2006 13:15:12 +0000 (13:15 +0000)]
More typo fixes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4207 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMore tweaks (remove OnExtendedMode)
brain [Sun, 9 Jul 2006 13:13:29 +0000 (13:13 +0000)]
More tweaks (remove OnExtendedMode)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4206 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoStarted on this
brain [Sun, 9 Jul 2006 13:10:50 +0000 (13:10 +0000)]
Started on this

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4205 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFixed to have DELETE
brain [Sun, 9 Jul 2006 12:40:01 +0000 (12:40 +0000)]
Fixed to have DELETE

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4204 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoDELETE()'s in destructors *fwap*
om [Sun, 9 Jul 2006 12:09:52 +0000 (12:09 +0000)]
DELETE()'s in destructors *fwap*

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4203 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd a missing cf->DoImplements(List); >_<
om [Sun, 9 Jul 2006 11:59:33 +0000 (11:59 +0000)]
Add a missing cf->DoImplements(List); >_<

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4202 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoOkay..updates to u_listmode, general cleanups and add some virtual methods which...
om [Sun, 9 Jul 2006 11:59:07 +0000 (11:59 +0000)]
Okay..updates to u_listmode, general cleanups and add some virtual methods which subclasses can override to alter behaviour..all looking much nicer and more flexible now.
Update m_chanfilter to use u_listmode, demonstrates most or all of the new features of it and looks a hell of a lot prettier :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4201 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd a parameter to set what config tag to parse (defaults to what was previously...
om [Sun, 9 Jul 2006 11:07:21 +0000 (11:07 +0000)]
Add a parameter to set what config tag to parse (defaults to what was previously hardcoded); Some other cleanups using initialisation lists, and using a ConfigParser stack-allocated rather than keeping a persistent heap-allocated one; Remove hardcoded filename prefixes in log messages

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4200 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd a return MODEACTION_DENY, fixes 'control reaches end of non-void function warning'
om [Sun, 9 Jul 2006 10:44:39 +0000 (10:44 +0000)]
Add a return MODEACTION_DENY, fixes 'control reaches end of non-void function warning'

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4199 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFixed pointless dereference spotted by Foamy
brain [Sat, 8 Jul 2006 23:03:32 +0000 (23:03 +0000)]
Fixed pointless dereference spotted by Foamy

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4198 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTidied up m_testcommand (removed a mode handler)
brain [Sat, 8 Jul 2006 21:59:07 +0000 (21:59 +0000)]
Tidied up m_testcommand (removed a mode handler)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4197 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoConvert m_censor to new api
brain [Sat, 8 Jul 2006 21:52:56 +0000 (21:52 +0000)]
Convert m_censor to new api

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4196 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix all typos (not as fun as 'kill all humans' but meh, beggers cant be choosers)
brain [Sat, 8 Jul 2006 21:42:30 +0000 (21:42 +0000)]
Fix all typos (not as fun as 'kill all humans' but meh, beggers cant be choosers)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4195 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoDid some renaming so that the methods for modes in chanrec and userrec are identical.
brain [Sat, 8 Jul 2006 21:37:16 +0000 (21:37 +0000)]
Did some renaming so that the methods for modes in chanrec and userrec are identical.
bool IsModeSet(const unsigned char c);
void SetMode(const unsigned char c, bool value);
Fixed m_botmode for new api

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4194 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoConvert to new API and optimize colour checking (we were using 0 ... string::length...
brain [Sat, 8 Jul 2006 21:24:33 +0000 (21:24 +0000)]
Convert to new API and optimize colour checking (we were using 0 ... string::length() when we could use std::string::iterator)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4193 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix typo
brain [Sat, 8 Jul 2006 21:14:55 +0000 (21:14 +0000)]
Fix typo

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4192 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoPort m_blockcaps to new api, remove OnExtendedMode and OnDisplayList events entirely
brain [Sat, 8 Jul 2006 21:12:22 +0000 (21:12 +0000)]
Port m_blockcaps to new api, remove OnExtendedMode and OnDisplayList events entirely

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4191 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoConvert to new API
brain [Sat, 8 Jul 2006 21:02:53 +0000 (21:02 +0000)]
Convert to new API

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4190 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoConvert u_listmode and m_banexception to new api
brain [Sat, 8 Jul 2006 20:57:24 +0000 (20:57 +0000)]
Convert u_listmode and m_banexception to new api

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4189 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoRemove Server::AddExtendedMode and Server::AddExtendedListMode, replace with Server...
brain [Sat, 8 Jul 2006 20:14:57 +0000 (20:14 +0000)]
Remove Server::AddExtendedMode and Server::AddExtendedListMode, replace with Server::AddMode (makes more sense naming wise too as all modes are modes, all the same now)
NOTE: Modules that implement modes WILL NO LONGER COMPILE NOW UNTIL THEY ARE PORTED TO THE NEW API

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4188 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoForward port of fix for Add*Line to apply automatically
special [Sat, 8 Jul 2006 20:12:09 +0000 (20:12 +0000)]
Forward port of fix for Add*Line to apply automatically

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4187 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoImplement DisplayList virtual method calls, and implement it in cmode_b
brain [Sat, 8 Jul 2006 19:46:55 +0000 (19:46 +0000)]
Implement DisplayList virtual method calls, and implement it in cmode_b

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4185 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd code to remove an opers opertype when they oper down
brain [Sat, 8 Jul 2006 18:40:02 +0000 (18:40 +0000)]
Add code to remove an opers opertype when they oper down

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4184 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd usermode +o, with special checking so that an oper may only remove the mode not...
brain [Sat, 8 Jul 2006 18:37:01 +0000 (18:37 +0000)]
Add usermode +o, with special checking so that an oper may only remove the mode not set it (on himself or others) -
Finish off facility for oper-only user and channel modes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4183 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoForgot return;s
brain [Sat, 8 Jul 2006 18:26:01 +0000 (18:26 +0000)]
Forgot return;s

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4182 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdded DisplayCurrentModes which will display the modes of a channel or nick
brain [Sat, 8 Jul 2006 18:22:34 +0000 (18:22 +0000)]
Added DisplayCurrentModes which will display the modes of a channel or nick

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4181 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix typos
brain [Sat, 8 Jul 2006 18:09:52 +0000 (18:09 +0000)]
Fix typos

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4180 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd code to display umode changes when they occur
brain [Sat, 8 Jul 2006 18:07:26 +0000 (18:07 +0000)]
Add code to display umode changes when they occur

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4179 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd userrec::HasMode, fix some typos.
brain [Sat, 8 Jul 2006 18:03:30 +0000 (18:03 +0000)]
Add userrec::HasMode, fix some typos.
TODO: Make more use of userrec::HasUmode('c') rather than user->modes['c'-65] *oogly*
Next - get umode +o working!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4178 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoChange channelmodes -> usermodes (typo)
brain [Sat, 8 Jul 2006 17:53:37 +0000 (17:53 +0000)]
Change channelmodes -> usermodes (typo)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4177 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoConvert new +isw modes to new mode format
brain [Sat, 8 Jul 2006 17:53:03 +0000 (17:53 +0000)]
Convert new +isw modes to new mode format

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4176 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoRefactored user modes to work like the channel modes - core and module data now the...
brain [Sat, 8 Jul 2006 17:44:16 +0000 (17:44 +0000)]
Refactored user modes to work like the channel modes - core and module data now the same storage format without ::modebits

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4175 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdded usermodes +swi.
brain [Sat, 8 Jul 2006 17:04:18 +0000 (17:04 +0000)]
Added usermodes +swi.
Note the usermode system needs a bit of a refactor to combine
module and core modes into the same storage neatly (as we did
with channels) this is next on my todo.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4174 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoRemove comemnted-out GiveVoice and TakeVoice
brain [Sat, 8 Jul 2006 16:47:05 +0000 (16:47 +0000)]
Remove comemnted-out GiveVoice and TakeVoice

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4173 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd cmode +v - that's all the RFC channel modes done now
brain [Sat, 8 Jul 2006 16:46:05 +0000 (16:46 +0000)]
Add cmode +v - that's all the RFC channel modes done now

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4172 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoRemove the TakeHops and GiveHops from comments
brain [Sat, 8 Jul 2006 16:21:13 +0000 (16:21 +0000)]
Remove the TakeHops and GiveHops from comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4171 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd support for cmode +h
brain [Sat, 8 Jul 2006 16:10:34 +0000 (16:10 +0000)]
Add support for cmode +h

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4170 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTidyup, and add numeric 472 "unknown mode char"
brain [Sat, 8 Jul 2006 15:25:04 +0000 (15:25 +0000)]
Tidyup, and add numeric 472 "unknown mode char"

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4169 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix for permissions :p
brain [Sat, 8 Jul 2006 15:17:42 +0000 (15:17 +0000)]
Fix for permissions :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4168 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoPut back security checks so non-ops cant set modes again :p
brain [Sat, 8 Jul 2006 15:14:11 +0000 (15:14 +0000)]
Put back security checks so non-ops cant set modes again :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4167 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoIntegrate +o into handlers
brain [Sat, 8 Jul 2006 15:08:28 +0000 (15:08 +0000)]
Integrate +o into handlers

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4166 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd cmode +o (op/deop) and in the process change a lot of char* to const char* to...
brain [Sat, 8 Jul 2006 15:05:33 +0000 (15:05 +0000)]
Add cmode +o (op/deop) and in the process change a lot of char* to const char* to avoid unneccessary casts

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4165 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoConvert the output limit back to the parameter
brain [Sat, 8 Jul 2006 14:24:12 +0000 (14:24 +0000)]
Convert the output limit back to the parameter

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4164 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd channelmode +l
brain [Sat, 8 Jul 2006 14:20:25 +0000 (14:20 +0000)]
Add channelmode +l

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4163 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd chmode +k, cut down includes in use in mode.cpp
brain [Sat, 8 Jul 2006 14:03:05 +0000 (14:03 +0000)]
Add chmode +k, cut down includes in use in mode.cpp

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4162 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoModeHandler documented
brain [Sat, 8 Jul 2006 01:22:46 +0000 (01:22 +0000)]
ModeHandler documented

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4161 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoComments
brain [Sat, 8 Jul 2006 00:41:01 +0000 (00:41 +0000)]
Comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4160 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd support for channelmode +i
brain [Fri, 7 Jul 2006 22:55:47 +0000 (22:55 +0000)]
Add support for channelmode +i

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4159 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd cmode_n and cmode_t
brain [Fri, 7 Jul 2006 22:50:03 +0000 (22:50 +0000)]
Add cmode_n and cmode_t

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4158 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTypoed a const
brain [Fri, 7 Jul 2006 22:47:32 +0000 (22:47 +0000)]
Typoed a const

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4157 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd channel modes +n and +t
brain [Fri, 7 Jul 2006 22:46:35 +0000 (22:46 +0000)]
Add channel modes +n and +t

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4156 e03df62e-2008-0410-955e-edbf42e46eb7