]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
brain [Mon, 10 Jul 2006 16:51:19 +0000 (16:51 +0000)]
If you ask me, it looks a hell of a lot tidier without forcing the cast.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4277
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 10 Jul 2006 16:04:06 +0000 (16:04 +0000)]
- userrec::ProcessNoticeMasks - provide a way to set or unset masks.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4276
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 10 Jul 2006 15:32:20 +0000 (15:32 +0000)]
- Add notice masks display to MODE nick, using a modified version of Unreal's 008 (no stupid formatting, display it like 221)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4275
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 10 Jul 2006 15:20:41 +0000 (15:20 +0000)]
- Add usermode +n for notice masks - our implementation of snomasks. We're not sure how this will tie in with +s yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4274
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 10 Jul 2006 15:07:39 +0000 (15:07 +0000)]
-Clone mode methods into notice mask methods for userrec.
- Modify userrec to add char [] of notice masks, works in the same function as modes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4273
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 10 Jul 2006 14:36:17 +0000 (14:36 +0000)]
Add install line for libIRCDsnomasks.so
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4272
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 10 Jul 2006 14:33:43 +0000 (14:33 +0000)]
Add headers and header comment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4271
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 10 Jul 2006 14:32:50 +0000 (14:32 +0000)]
Add empty snomasks.cpp (still got to add headers here so the build doesnt barf on the empty file?)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4270
e03df62e -2008-0410-955e-
edbf42e46eb7
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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