aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Expand)AuthorAgeFilesLines
...
* Add channelmode +l•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4163 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-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 Gravatar brain2006-07-081-0/+8
* ModeHandler documented•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4161 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-0/+62
* Add support for channelmode +i•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4159 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-071-0/+8
* Add channel modes +n and +t•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4156 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-072-0/+16
* Move BanItem into the class•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4152 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-071-0/+3
* Started work on ModeParser::CleanMask()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4145 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-071-2/+1
* Comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4144 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-071-2/+62
* Added cmode_m (channel mode +m)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4141 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-071-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 Gravatar brain2006-07-072-2/+11
* Add cmode_p (private)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4131 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-071-0/+8
* Aaaand, correct all the obligitary typos•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4129 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-071-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 Gravatar brain2006-07-071-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 Gravatar brain2006-07-071-5/+1
* Header for cmode_s.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4124 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-072-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 Gravatar om2006-07-071-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 Gravatar brain2006-07-071-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 Gravatar om2006-07-071-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 Gravatar om2006-07-031-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 Gravatar brain2006-07-011-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 Gravatar brain2006-07-011-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 Gravatar brain2006-07-011-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 Gravatar om2006-07-013-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 Gravatar om2006-07-012-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 Gravatar brain2006-06-301-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 Gravatar om2006-06-291-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 Gravatar om2006-06-291-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 Gravatar om2006-06-291-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 Gravatar om2006-06-291-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 Gravatar brain2006-06-271-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 Gravatar brain2006-06-211-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 Gravatar brain2006-06-201-4/+4
* Increase length of dhost•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3955 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-05-111-1/+1
* Fix output corruption when host is exactly 64 chars long•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3944 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-05-101-1/+1
* Check for NULL, set pointers to NULL after deletion•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3908 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-251-1/+1
* Fix various typos and warnings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3907 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-241-1/+1
* Typo in the macro :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3905 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-241-1/+1
* delete operator tracking in debug mode (using a macro -- live with it.)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-241-0/+2
* Movement of cmd_* headers into include/commands (this is incomplete)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3896 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-2053-52/+52
* Made FindMatching(Global|Local) available via users.h•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3872 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-121-0/+3
* Die windows die.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3871 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-111-12/+0
* Route some more stuff through socket.h and hash_map.h. Add #define protection...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3869 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-106-28/+16
* Routing more socket includes through socket.h•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3868 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-104-38/+27
* Typedef an ugly iterator, dont send mode string if no modes were in the outpu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3867 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-101-0/+2
* A few more typedefs defined and put into use.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3866 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-102-2/+10
* Add time.h include to inspircd.h. Random cleanups in channels.cpp, mostly usi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3865 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-101-0/+1
* Assorted changes here, Extend() is not templated so you can pass it any point...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3864 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-101-3/+11
* More fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3863 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-101-2/+3
* Extra allowance for modes which have different number of params when being se...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3858 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-101-3/+4
* Start of new mode parser•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3857 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-101-2/+13