summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_sqloper.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Ive been unable to commit this since 9am, somehow port 22 is unusable at work...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5639 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-031-4/+0
* Took out a header we needed to keep. Im done stick a fork in me•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5638 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-031-0/+1
* Hmm, svn said there was a conflict here, but nobody had committed :/•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5637 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-031-2/+0
* Revert special's sqloper change, nice try but only half a biscuit.•••With the old fix, it would echo out all the oper failure notices first then try again, annoying all the opers. The new version uses a CommandParser method i added, to again use OnPreCommand, halt the /oper command, but after doing the sql lookup call the original handler of the OPER command with the original user and pass, so the original handler handles the definitive failure message. DAMNIT STOP COMMITTING git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5636 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-031-7/+30
* Switched m_sqloper to use OnPostCommand instead of OnPreCommand, meaning the ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5635 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2006-11-031-12/+4
* Insert massive change here.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-191-1/+1
* Now with binary versioning goodness•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-011-1/+1
* Add const std::string &original_command to OnPreCommand and OnPostCommand, wh...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5265 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-171-1/+1
* Snomasks +k (kills) and +o (oper)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5069 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-291-3/+4
* Just to mess with om's head, remove helperfuncs.h from everywhere•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+1
* Change to using Instance->Log (InspIRCd::Log) rather than log() macro•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-16/+16
* New API update•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4872 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-08-111-11/+9
* Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.•••Changed Parameter for modules from Server* to InspIRCd*. TODO: Move remaining Server* Modules into InspIRCd* and remove class Server. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4859 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-3/+3
* Mass-tidyup of module global vars, theyre no longer global vars.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4856 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-4/+0
* PublishFeature, FindFeature, FindModule, PriorityBefore, PriorityAfter -> Ins...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4846 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-2/+2
* Updates to new API•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4842 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-08-101-3/+4
* Fixes for API changes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4816 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-08-091-4/+2
* ServerConfig extern moved into class InspIRCd•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-1/+0
* Get rid of Server::GetUsers(chanrec) - a throwback to before chanrec could do...•••Move: bool ChangeDisplayedHost(const char* host); bool ChangeName(const char* gecos); int CountChannels(); Into userrec git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4807 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-1/+1
* WHEEEEE!!!!!•••All of: Write(), WriteTo(), WriteFrom(), WriteServ() are now methods of userrec. Write_NoFormat(), WriteTo_NoFormat(), WriteFrom_NoFormat(), WriteServ_NoFormat() are now std::string-taking overloaded methods of the functions above All modules updated to use new syntax, my fingers hurt :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4798 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-3/+3
* AddOper() and DeleteOper() -> userrec::Oper() and userrec::UnOper() (these do...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4792 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-21/+14
* Support CIDR, CIDR zline, /oper and CIDR <connect> tags. NOTE: With CIDR oper...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4732 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-061-2/+2
* Change to use GetId() and ID rather than GetData() and data•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4531 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-231-3/+3
* Tidyups, optimisations and make the log messages make sense...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4522 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-231-10/+11
* simple logic error (check they already are +o before you set it), seems to fi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4521 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-231-1/+1
* Mostly updated to new API; Currently doesn't check config o:lines (should be ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4520 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-231-110/+179
* mass tidyup, change A LOT of stuff to const char** which was char** (such as ...•••which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations (all in all, ive added 2 casts and removed almost a hundred) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4403 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-1/+1
* 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 Gravatar brain2006-07-081-2/+2
* Apply mirq's optimization patches•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3977 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-05-301-29/+3
* 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-6/+6
* Include paths change•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3899 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-201-1/+1
* Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-081-1/+1
* *hits eggy with a stick*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3710 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-131-1/+1
* More const ref fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3656 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-3/+3
* Fixed Server* Srv stuff in these too, although by default these arent availab...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3333 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-261-2/+1
* Oh yae, Oh Yae, back in old days of yore, Ye Brain doth set the nick buffer a...•••And yae, at a date later hence, Ye Brain then setteth ye buffer back to NICKLEN again. Alas, neither Ye Brain nor Ye trusty followers hath then setteth back the rest of the core to NICKLEN-1, and verily, chaos ensued. :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3286 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-221-1/+1
* Add .c_str()'s to m_sqloper in call to OneOfMatches(), and change prototype o...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3091 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-02-051-19/+25
* Added support for space-seperated lists here, too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3075 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-041-1/+2
* Created OnPostOper that can be gauranteed to be called *after* opering (by AL...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2973 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-291-0/+1
* Deleted the semicolon that had half the dev team wondering...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2955 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-281-1/+1
* A few tweaks here and there•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2954 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-281-1/+3
* Missing extern•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2950 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-281-0/+1
* TESTME: Fix to this to make it work with newer OnPreCommand event (a paramete...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2949 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-281-5/+8
* Updated copyrights in headers etc using perl inplace edit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-151-1/+1
* Last set converted to 'Implements'•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2667 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-261-0/+5
* Changed behaviour of module API to pass Server* to the constructor, rather th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2252 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-071-5/+5
* Added a parameter to OnRehash for the rehash parameter•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2058 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-11-301-1/+1
* Fixed for new OnOper syntax•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2015 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-11-291-1/+1
* Fixed to not use mesh stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1937 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-11-251-2/+0
* Started on -Wall - safe compile•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1570 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-301-2/+2