]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
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
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
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
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
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
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
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
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
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
brain [Fri, 7 Jul 2006 22:35:02 +0000 (22:35 +0000)]
Save ourselves 3 dereferences
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4155
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 7 Jul 2006 22:02:24 +0000 (22:02 +0000)]
Clean 'removed' bans too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4154
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 7 Jul 2006 21:53:22 +0000 (21:53 +0000)]
Tidier than a trinary op
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4153
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 7 Jul 2006 21:51:33 +0000 (21:51 +0000)]
Move BanItem into the class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4152
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 7 Jul 2006 21:40:37 +0000 (21:40 +0000)]
Remove the transposition of @ and ! stuff, doesnt work right and not a good enough idea to be worth fixing
Fix mode parser so that if a handler nukes its parameter to an empty string, but its said it MUST have a parameter
(e.g. +b or +L) then thats equivalent to MODEACTION_DENY as we cant do anything without the param. The whole mode
and its parameter get 'eaten' and the next character is moved to instead.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4151
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 7 Jul 2006 21:34:46 +0000 (21:34 +0000)]
Avoid throwing a std::out_of_range exception when given a ban without ! or @ in it (whooops)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4150
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 7 Jul 2006 21:25:47 +0000 (21:25 +0000)]
toomanyexclamation and toomanyat are no longer required here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4149
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 7 Jul 2006 21:25:11 +0000 (21:25 +0000)]
Fix to check for colon (accidentally typed pos_of_dot)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4148
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 7 Jul 2006 21:24:44 +0000 (21:24 +0000)]
Mask cleaning.
nick -> nick!*@*
nick!ident -> nick!ident@*
host.name -> *!*@host.name
ident@host.name -> *!ident@host.name
transposed @ and !, swap @ and ! to form proper n!u@h ordering
Hostname determined by containing a dot or a colon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4147
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 7 Jul 2006 21:06:25 +0000 (21:06 +0000)]
Make +b use CleanMask()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4146
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 7 Jul 2006 21:03:00 +0000 (21:03 +0000)]
Started work on ModeParser::CleanMask()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4145
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 7 Jul 2006 20:50:25 +0000 (20:50 +0000)]
Comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4144
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 7 Jul 2006 20:06:46 +0000 (20:06 +0000)]
A bit more debugging
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4143
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 7 Jul 2006 20:04:55 +0000 (20:04 +0000)]
'Activate' +m by putting it in the constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4142
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 7 Jul 2006 20:03:17 +0000 (20:03 +0000)]
Added cmode_m (channel mode +m)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4141
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 7 Jul 2006 19:21:52 +0000 (19:21 +0000)]
Fix syntax example
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4140
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 7 Jul 2006 19:03:18 +0000 (19:03 +0000)]
GCC defines and <hash_map> -> "hash_map.h"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4138
e03df62e -2008-0410-955e-
edbf42e46eb7