| Commit message (Expand) | Author | Age | Files | Lines |
| * | Okay..updates to u_listmode, general cleanups and add some virtual methods wh...•••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 | 2006-07-09 | 1 | -12/+60 |
| * | Add a parameter to set what config tag to parse (defaults to what was previou...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4200 e03df62e-2008-0410-955e-edbf42e46eb7
| om | 2006-07-09 | 1 | -17/+12 |
| * | Did some renaming so that the methods for modes in chanrec and userrec are id...•••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 | 2006-07-08 | 2 | -3/+5 |
| * | Port m_blockcaps to new api, remove OnExtendedMode and OnDisplayList events e...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4191 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-08 | 2 | -36/+3 |
| * | 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 | 2006-07-08 | 2 | -125/+109 |
| * | Remove Server::AddExtendedMode and Server::AddExtendedListMode, replace with ...•••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
| brain | 2006-07-08 | 2 | -69/+4 |
| * | 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 | 2006-07-08 | 1 | -0/+1 |
| * | Add usermode +o, with special checking so that an oper may only remove the mo...•••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 | 2006-07-08 | 1 | -0/+8 |
| * | 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 | 2006-07-08 | 1 | -4/+1 |
| * | 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 | 2006-07-08 | 2 | -1/+2 |
| * | Change channelmodes -> usermodes (typo)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4177 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-08 | 1 | -1/+1 |
| * | 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 | 2006-07-08 | 1 | -0/+5 |
| * | Refactored user modes to work like the channel modes - core and module data n...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4175 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-08 | 2 | -25/+18 |
| * | 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 | 2006-07-08 | 4 | -0/+25 |
| * | 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 | 2006-07-08 | 1 | -0/+13 |
| * | Add support for cmode +h•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4170 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-08 | 1 | -0/+13 |
| * | Add cmode +o (op/deop) and in the process change a lot of char* to const char...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4165 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-08 | 2 | -9/+24 |
| * | Add channelmode +l•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4163 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-08 | 1 | -0/+8 |
| * | 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 | 2006-07-08 | 1 | -0/+8 |
| * | ModeHandler documented•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4161 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-08 | 1 | -0/+62 |
| * | Add support for channelmode +i•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4159 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-07 | 1 | -0/+8 |
| * | Add channel modes +n and +t•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4156 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-07 | 2 | -0/+16 |
| * | Move BanItem into the class•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4152 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-07 | 1 | -0/+3 |
| * | Started work on ModeParser::CleanMask()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4145 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-07 | 1 | -2/+1 |
| * | Comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4144 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-07 | 1 | -2/+62 |
| * | Added cmode_m (channel mode +m)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4141 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-07 | 1 | -0/+8 |
| * | Mode +b stuff, probably wont work yet•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4133 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-07 | 2 | -2/+11 |
| * | Add cmode_p (private)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4131 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-07 | 1 | -0/+8 |
| * | Aaaand, correct all the obligitary typos•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4129 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-07 | 1 | -1/+1 |
| * | Added masking stuff.•••Basically, so that we can hold user modes and channel modes in the same list, we use bitwise masking.
We have a list of handlers, 256 in size 0 through 255, and to work out where a mode handler is dependent
on WHAT it is, we use this simple hashing algorithm (no collisions can occur):
(modeletter - 65) | mask
Where mask is 128 (10000000b) if its a user mode, or 0 (00000000b, duh) if its a channel mode.
Smart, and much faster than using a map of pairs.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4128 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-07 | 1 | -2/+9 |
| * | Mode parser WORKS! (for simple non-parameterized channel modes)•••Tested with channel mode +s.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4126 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-07 | 1 | -5/+1 |
| * | Header for cmode_s.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4124 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-07 | 2 | -0/+10 |
| * | change std::string's to const std::string references for *Feature() funcs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4121 e03df62e-2008-0410-955e-edbf42e46eb7
| om | 2006-07-07 | 1 | -3/+3 |
| * | Added InspSocket::WantWrite(), InspSocket::OnWriteReady() and private data me...•••See the XXX'ed section for a bit of minor craq
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4120 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-07 | 1 | -0/+15 |
| * | modules.*: Put some void* back to char*, sorry if they were only like that be...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4119 e03df62e-2008-0410-955e-edbf42e46eb7
| om | 2006-07-07 | 1 | -4/+4 |
| * | Change InspSocket's private members to only be protected, I couldn't find any...•••Commit very first, very alpha, not-very functional version of the PostgreSQL module. It compiles..and that's..err..about it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4112 e03df62e-2008-0410-955e-edbf42e46eb7
| om | 2006-07-03 | 1 | -1/+1 |
| * | relocate the Move* methods to private: where they belong, rename erase_factor...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4098 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-01 | 1 | -6/+6 |
| * | Make WritePID a public function of class InspIRCd•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4097 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-01 | 1 | -1/+1 |
| * | Move SetSignals(), Start() and DaemonSeed() into private methods of class Ins...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4096 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-01 | 1 | -5/+5 |
| * | Change WriteChannelWithServ and it's _NoFormat to take a const char* serverna...•••Lose some more casts in m_spanningtree, unneeded because of above changes
Make xline_set_creation_time() take const char* rather than char* for it's first parameter, lose more casts in spanningtree because of this
Make do_whois take a const char* rather chan char* nick, lose yet more casts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4095 e03df62e-2008-0410-955e-edbf42e46eb7
| om | 2006-07-01 | 3 | -7/+7 |
| * | Replace rather craq'y loop with a couple of std::string calls•••Change GetServerDescription to take const char* rather than char*
Change userrec::server from char* to const char*, this is more 'correct' as it's not safe to modify it (pointer as returned by std::string::c_str())
Change WhoWasGroup::server, see above about userrec::server
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4094 e03df62e-2008-0410-955e-edbf42e46eb7
| om | 2006-07-01 | 2 | -3/+3 |
| * | Tweak to IS_LOCAL macro to exclude invalid fd's that are > MAX_DESCRIPTORS•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4091 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-06-30 | 1 | -1/+1 |
| * | And add the include to make all the modules compile...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4085 e03df62e-2008-0410-955e-edbf42e46eb7
| om | 2006-06-29 | 1 | -0/+1 |
| * | This already adds the file and line number itself, call do_log() rather than ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4084 e03df62e-2008-0410-955e-edbf42e46eb7
| om | 2006-06-29 | 1 | -1/+1 |
| * | Change log() to a #define, the real symbol is now do_log(), the new macro aut...•••You must make clean and rebuild all of insp.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4081 e03df62e-2008-0410-955e-edbf42e46eb7
| om | 2006-06-29 | 1 | -1/+11 |
| * | Convert char* to const char* in InspSocket constructor prototype. Shouldn't b...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4080 e03df62e-2008-0410-955e-edbf42e46eb7
| om | 2006-06-29 | 1 | -1/+1 |
| * | Added auto-binding, picks the first ip in the <bind> tags that isnt localhost...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4064 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-06-27 | 1 | -0/+2 |
| * | Added Server::PublishFeature(),•••Server::UnpublishFeature(),
Server::FindFeature().
See comments in modules.h for usage
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4041 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-06-21 | 1 | -3/+44 |
| * | Class Request and class Event now take a void* in their constructor to save o...•••Please note that the data type *returned* by GetData() in both cases is still char*, as
C++ will not let you return a void*. This to be addressed by someone else with templates
when they have the time.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4038 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-06-20 | 1 | -4/+4 |
| * | Increase length of dhost•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3955 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-05-11 | 1 | -1/+1 |