summaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* REMOTE STATS! WOOO AND YAY!Gravatar brain2006-07-302-16/+74
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4596 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to send out modes remotely when a ban expires so that other ircds have ↵Gravatar brain2006-07-301-0/+7
| | | | | | their bans removed (they used to rely upon the expiry of the ban at the opposite end of the connection by the other end's m_timedbans, now they dont have to) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4595 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix more timedban stuff - possible infinite loop if ban expires after the ↵Gravatar brain2006-07-301-0/+5
| | | | | | channel has been deleted (and/or re-created under the same name) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4592 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug which can lock up ircd if someone adds a timed ban when the ↵Gravatar brain2006-07-291-11/+15
| | | | | | banlist is full git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4589 e03df62e-2008-0410-955e-edbf42e46eb7
* Started UserManager classGravatar brain2006-07-291-0/+50
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4586 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove m_operwho, no longer required in 1.1 as standard /who can do its jobGravatar brain2006-07-281-212/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4582 e03df62e-2008-0410-955e-edbf42e46eb7
* Beat om to the commitGravatar brain2006-07-281-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4574 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix the obligotary typosGravatar brain2006-07-281-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4570 e03df62e-2008-0410-955e-edbf42e46eb7
* Change all references to voodoo numbers (7, 3 etc) to the new bitwise ↵Gravatar brain2006-07-283-28/+28
| | | | | | | | | constants for user->registered Change a lot of user->fd > -1 to use the IS_LOCAL() macro git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4569 e03df62e-2008-0410-955e-edbf42e46eb7
* Add support for syntax of commands in place of the text 'Not enough ↵Gravatar brain2006-07-2833-26/+62
| | | | | | | | | parameters' in numeric 461, where supported. To support this each derived class of command_t must set the value of command_t::syntax to a non-empty string. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4561 e03df62e-2008-0410-955e-edbf42e46eb7
* Add VF_SERVICEPROVIDERGravatar brain2006-07-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4560 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to allow +q/-q etcGravatar brain2006-07-271-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4559 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow SAMODE and remote users to set +qa without local-user checks (bug?)Gravatar brain2006-07-271-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4558 e03df62e-2008-0410-955e-edbf42e46eb7
* Change std::pair<bool,std::string> to neater typedef "ModePair"Gravatar brain2006-07-276-8/+32
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4557 e03df62e-2008-0410-955e-edbf42e46eb7
* Mode merging during FJOIN with ourts==theirts. Only +k and +l have ↵Gravatar brain2006-07-271-8/+178
| | | | | | CheckTimestamp methods atm, needs to be finished by me and TIDIED. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4556 e03df62e-2008-0410-955e-edbf42e46eb7
* * Fix Server::SendMode to actually work again.Gravatar brain2006-07-271-12/+46
| | | | | | | * In the 1.1 protocol we now use FMODE for everything, rather than MODE. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4551 e03df62e-2008-0410-955e-edbf42e46eb7
* commit remainder of new mode bouncing stuff for TS based modesGravatar brain2006-07-271-37/+115
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4550 e03df62e-2008-0410-955e-edbf42e46eb7
* Add extra method to mode handler, ModeHandler::ModeSet().Gravatar brain2006-07-266-0/+90
| | | | | | | | | | | Returns a std::pair<bool,string>. if the bool is true, the mode is set, and the second item in the pair is the parameter set on it, if any If the bool is false, the mode is not set, and the parameter given is returned as the second item of the pair To be used in mode bouncing, to build a safe set of bounced modes (dont ask yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4549 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix reiterpret_cast stuff that doesnt work rightGravatar brain2006-07-261-4/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4548 e03df62e-2008-0410-955e-edbf42e46eb7
* Adapt m_spanningtree to use irc::tokenstream instead of its own ↵Gravatar brain2006-07-261-64/+5
| | | | | | irc-line-parser (that was teh sux) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4547 e03df62e-2008-0410-955e-edbf42e46eb7
* Migrate towards FMODE with TS, remove the SYNCTS command ideaGravatar brain2006-07-261-26/+120
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4546 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove numeric which makes some clients (Xchat, more?) think their nick is ↵Gravatar om2006-07-251-3/+1
| | | | | | in use. Apparently it's not needed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4544 e03df62e-2008-0410-955e-edbf42e46eb7
* Exclude LUSERS lines with zero counts (NO WE WONT CHANGE THE SPELLING OF ↵Gravatar brain2006-07-251-3/+6
| | | | | | connection(s)!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4543 e03df62e-2008-0410-955e-edbf42e46eb7
* Prevent notice loops on servermasksGravatar brain2006-07-251-10/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4541 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow PRIVMSG and NOTICE targets of $<servermask> to the module events (this ↵Gravatar brain2006-07-251-2/+18
| | | | | | wasnt trivial and is almost a damn feature) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4539 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix NOTICE $* to go between serversGravatar brain2006-07-251-2/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4536 e03df62e-2008-0410-955e-edbf42e46eb7
* Change watchlist to a list of pointers, can operate and iterate much fasterGravatar brain2006-07-231-29/+42
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4534 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyup and bugfix, not copying the correct column namesGravatar brain2006-07-231-10/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4532 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to use GetId() and ID rather than GetData() and dataGravatar om2006-07-239-30/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4531 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed to dynamically allocate the fieldlistGravatar brain2006-07-231-3/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4530 e03df62e-2008-0410-955e-edbf42e46eb7
* Move mysql_rpath into extraGravatar brain2006-07-232-1/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4527 e03df62e-2008-0410-955e-edbf42e46eb7
* *boot* youuuuu're outta here - old blocking SQL API replaced with sexy new ↵Gravatar om2006-07-231-268/+0
| | | | | | async one <3 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4526 e03df62e-2008-0410-955e-edbf42e46eb7
* Free, as they should be, fieldlist and/or fieldmap in destructor of ↵Gravatar om2006-07-231-0/+7
| | | | | | PgSQLresult *if* they were allocated git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4525 e03df62e-2008-0410-955e-edbf42e46eb7
* More stuff to return empty lists and maps when there are no more rows in the ↵Gravatar brain2006-07-231-3/+10
| | | | | | dataset git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4524 e03df62e-2008-0410-955e-edbf42e46eb7
* Adjust m_mysql to match the assumed behaviour of m_pgsql exactly, e.g. when ↵Gravatar brain2006-07-231-10/+17
| | | | | | | | | there are now rows left return an empty row Fix mistake which required a reference to be freed (?!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4523 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyups, optimisations and make the log messages make sense...Gravatar om2006-07-231-10/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4522 e03df62e-2008-0410-955e-edbf42e46eb7
* simple logic error (check they already are +o before you set it), seems to ↵Gravatar om2006-07-231-1/+1
| | | | | | fix +o issue git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4521 e03df62e-2008-0410-955e-edbf42e46eb7
* Mostly updated to new API; Currently doesn't check config o:lines (should be ↵Gravatar om2006-07-231-110/+179
| | | | | | tried before SQL ones); Doesn't seem to set UMODE +o properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4520 e03df62e-2008-0410-955e-edbf42e46eb7
* Give SQLfield's constructor parameters default values (effectively giving it ↵Gravatar om2006-07-231-1/+1
| | | | | | a default constructor), lets SQLfieldMap actually be useable.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4519 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unused variable and assignmentGravatar om2006-07-231-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4518 e03df62e-2008-0410-955e-edbf42e46eb7
* Make m_pgsql return the number of affected rows for an UPDATE or INSERT query.Gravatar om2006-07-222-12/+29
| | | | | | Make m_testclient do an INSERT and test this :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4517 e03df62e-2008-0410-955e-edbf42e46eb7
* Alter for Rows() == X, Cols() == 0 for 'X rows affected' queriesGravatar brain2006-07-223-15/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4515 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to doxygen-friendly comments, and actually document the lotGravatar brain2006-07-221-15/+206
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4514 e03df62e-2008-0410-955e-edbf42e46eb7
* Change comment to actually be rightishGravatar om2006-07-221-5/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4513 e03df62e-2008-0410-955e-edbf42e46eb7
* Reorder a couple of constructor prototypes for consistencyGravatar om2006-07-222-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4512 e03df62e-2008-0410-955e-edbf42e46eb7
* Add m_sqlutils - Currently provides ID->chan/user lookupsGravatar om2006-07-223-65/+424
| | | | | | Update m_sqlauth to use m_sqlutils git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4511 e03df62e-2008-0410-955e-edbf42e46eb7
* I hate the fucking mysql devs. Craq smoking bastards.Gravatar brain2006-07-222-28/+74
| | | | | | | | Upon Insert, number of rows is the number of rows effected but the number of columns is 0????? Add check to MySQLreply::Rows() to ensure the user doesnt see N rows and 0 columns! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4510 e03df62e-2008-0410-955e-edbf42e46eb7
* Allocate id properlyGravatar brain2006-07-222-4/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4509 e03df62e-2008-0410-955e-edbf42e46eb7
* Actually hook up the OnUnloadModule event >_<Gravatar om2006-07-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4508 e03df62e-2008-0410-955e-edbf42e46eb7
* This compiles, dont expect it to work yetGravatar brain2006-07-221-128/+225
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4507 e03df62e-2008-0410-955e-edbf42e46eb7