summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2006-11-10Add gline type, and <filter:duration> value to say how long to ban for.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5666 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Inherit m_filter.cpp and m_filter_pcre.cpp from a base set of classes, so ↵brain
that changes for /filter command and gline actions etc only need to be made in one place (the base classes header) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5665 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-06Fixed broken syncing for glines and elines using idents - thanks to ↵special
dotslasher for finding and peaveydk for finding the fix git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5661 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Modified the server-to-server TIME command to report the real time (without ↵special
delta), and display the delta in the output from m_alltime git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5657 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Made the 'force' parameter to BURST and TIMESET uppercase to satisfy the ↵special
pedantic brain git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5651 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Added the <options:notimesync> flag to disable time syncingspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5650 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Added time syncing! This is fairly simple - servers exchange timestamps and ↵special
use the lowest - but should get rid of the annoying bounces for those of us who can't depend on ntpd. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5649 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-04one line tweak, if the prefix is empty, dont echo 'unknown prefix' to the ↵brain
debug log git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5648 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03Fixed at last.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5640 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03Ive been unable to commit this since 9am, somehow port 22 is unusable at ↵brain
work now, even though we need to use it... damn cable and witless. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5639 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03Took out a header we needed to keep. Im done stick a fork in mebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5638 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03Hmm, svn said there was a conflict here, but nobody had committed :/brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5637 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03Revert special's sqloper change, nice try but only half a biscuit.brain
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
2006-11-03Switched m_sqloper to use OnPostCommand instead of OnPreCommand, meaning the ↵special
config tags are checked before MySQL git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5635 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02Added m_alltimespecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5625 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01Added the send_push event to m_spanningtree (send raw text to a remote user)special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5624 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01New events for special. Event id's "new_server" and "lost_server". The data ↵brain
is a pointer to a char* containing the server name. Eventally, i might expand this to include more data about the server such as its 'gecos' field etc, but not just yet. Let me know what data you want first. Event source is valid and will point at the protocol module. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5623 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01Remove <helpop file>brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5618 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01Remove <censor file> directive, we've had <include> for years now, make use ↵brain
of it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5617 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31Fix broken notice (relatively minor, the notice can be turned off)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5616 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30Fix for crash found by eggy when a user without a cert tries to oper on a ↵brain
fingerprinted oper tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5593 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30Add m_hidechans: Adds usermode +I to hide an oper's channels from non-opers. ↵w00t
Also, we don't want to load a .h in the config, Brain :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5583 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30m_hideoper hooked the wrong event, fixed.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5581 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Add <options:deprotectself> which can allow a +qa user to remove their own ↵brain
+q or +a. The default of having this off makes inspircd act like it always has (only allow ANY removal of these modes via services or a founder) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5578 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28* Fix removal of user modes when unloading the mode letter (this actually ↵brain
works now) * Fix m_stripcolor channel mode +S (was unsettable as it had some user mode checks in it) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5577 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Add and document m_hideoper, used to hide oper status from non-opers.brain
Note: This module ONLY conceals numeric 313. Any other cloak-and-dagger private eye stuff you want to do, like setting your host back to a non- oper host, you must do yourself, this module wont mess with anything else on your behalf. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5576 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Fix these too!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5575 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Dont let users set this mode!!!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5572 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Add support for OnWhoisLine, which allows modules to change or drop any line ↵brain
of whois before its sent to a user git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5570 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Whoops, wrong linfeed type on ADDLINE in netburstbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5569 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Allow admins to set the socket timeout on server connectionsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5566 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Give this one a go dotslasher, apply to ALL serversbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5565 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Fix for crash, submitted by peaveydkbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5560 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Removed a bit of unreachable code I added with the last commit (thanks peaveydk)special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5558 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Return CMD_FAILURE from sajoin when given an invalid nickname (thanks Ares)special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5557 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-27When loading, dont try and free the qa modes, we havent allocated them yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5555 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-27Allow changing of qaprefixes on the fly with REHASH - if this happens, ↵brain
writeopers saying that users might need to reconnect to detect the change. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5549 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-27remove <filter file> - This is no longer neccessary as we've had includes ↵brain
for quite a while now. It's still required for m_helpop, because the helpop.conf has tags which clash with the main config's tags (e.g. <server>, <oper>) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5548 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-27Allow relative paths for motd and rules (and anything that uses ReadFile)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5546 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-26Fix broken GlobalCloneCount (AGAIN).brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5544 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-26Fix this to display the channel name when overriding a ban, and to properly ↵brain
display +i overrides in the right way git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5541 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-26Don't display this notice on an empty servername (which will happen if an ↵w00t
incoming connection fails), confusing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5540 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-26Hopefully fix override notices on channel bans, also make the override ↵w00t
notice behaviour respect NoisyOverride properly (NoisyOverride should NOT silence the oper notice, just the channel one) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5539 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23More missing spaces (and unbreak compile)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5537 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23Fix bug experienced by satmd, remove space indents + tidy a littlew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5536 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23Merge guestpattern fix by peaveydkbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5535 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23Add $ModDep: special comment, similar to $CompileFlags and $LinkerFlags.brain
$ModDep allows a module to specify headers it depends on, e.g. all of the headers which use u_listmode.h now do this: /* $ModDep: ../../include/u_listmode.h */ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5534 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23This needs TESTING: use modestacker when unloading module to group modes.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5531 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22Merge fix by peaveydk which stops crashes when user doesnt authbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5529 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22More mirc ball-suckage.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5527 e03df62e-2008-0410-955e-edbf42e46eb7