summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-03-06This properly fixes options:hidebans and options:hidesplits by providing the ↵brain
facility to have two different quit messages for a user, one an oper sees and one a normal user sees. There are default values on the oper_quit parameters through the entire source so that if oper_quit parameter is not given it defaults to the same as the user_quit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6630 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-05Klosterkrone? wtf kind of cheese is that. It best taste nice.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6628 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-05State that the channel is full, to avoid confusionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6627 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-05Return 1 not 0, we dont want two numerics. (thanks peavey)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6626 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-05Change oper notice into a numeric to the user:brain
%s :%s has a circular redirect (+L). Not following redirection to %s. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6625 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-03Allow for the cgiirc module to change the users host if it doesnt resolvebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6622 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-03Fix double-dereference in CheckIdent and CheckPass which causes the values ↵brain
of the userrec to be overwritten with an ascii ip address. (oops!) Fixes primary cause for bug #215, NEEDS QA TESTING git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6620 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-03Minor tweak, return of OnUserRegister discarded in cmd_user (should not have ↵brain
effected anything, but bad style) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6619 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-03Fix m_services_account logout by allowing meta with empty data field. ↵peavey
Tracker: bug #226 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6618 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-03Rebuild 005 on rehash. Tracker: bug #234peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6617 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-02Do not perform redirect on chained channel links, tell user channel is full ↵peavey
and SNOTICE the offending channel(s). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6616 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-27Fix for small display issue, when both ssl modules are loaded, both output a ↵brain
'is ssl' numeric for ssl users in whois. This fix ensures that only an ssl module thats listening on client ports will output the whois. Theres no need to bind openssl and gnutls both to client ports, however some people use openssl for server ports and gnutls for client ports, or vice versa. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6615 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-25Fixes and optimizationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6612 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-25Ensure that simplemodes are sent first (jilles requested this)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6611 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-25Bans are bursted using a large string buffer to save on write() calls, so ↵brain
the way we handle clamping the ban sending to 350 chars is slightly different than the changes just made to modestacker. works he same though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6610 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-25Add max line length value to modestacker, so that it can clamp the max ↵brain
length of a composed line to a given size. Defaults to 350 which should be safe with fmode and mode with a server name git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6609 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-22Added sepstream::GetRemaining()special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6608 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-20New and improved /INFO (now with meaty chunks)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6607 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-20fix typo.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6606 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-20No need to .c_str() the quitmsg, it takes const std::string&brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6605 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-20Make these vendor modules.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6604 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-20Put back quit prefix that got lost in last fix.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6603 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-19Addition of feature request outlined in bug #195, suggested by Brickerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6602 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-19Too many small tweaks to list. Most notably tidy up info, note that /trace ↵brain
is crap, and improve efficiency of cmd_nick git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6601 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-19When a users nick is overruled, remove their nickname-sent bit from ↵brain
userrec::registered so they must send a nick again. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6600 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-19fix obligotary typosbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6599 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-19Better handling of nickname overrulingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6598 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-19Whoops, typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6597 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-191) Fix for nickname overruled with new cullList stuff -- we have to change ↵brain
their nick, its not safe to quit them as it messes up the nick hash. 2) Add a mute flag for users, so we can drop commands from users who have been placed on the cullList. This is independent of the actual cullList and can be used as a general mute flag e.g. by shun modules. 3) Fix /kill to also not quit the user immediately, remove need for CMD_USER_DELETED return anywhere in the code. *** THIS NEEDS TESTING BY QA *** git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6596 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-19Fix for crashbugs when quitting users as experienced by satmd, SiliconAI and ↵brain
others. QA: Please test combinations of /quit, /kill, and friends. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6595 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-18Few more cleanups (no need to update, shouldn't have changed any behaviour..)om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6594 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-18Stop this using some global ServerInstance (where's that even defined? :|) ↵om
and do some slight cleanups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6593 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-18Account for bearbots whos CTCP TIME misses the ending \1 from the CTCPbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6592 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-18Eliminate some string copies, tidy some code, and reverse some short-circuit ↵brain
checks (Expensive(x) && Cheap(y)) -> (Cheap(y) && Expensive(x)) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6591 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-17Change /msg $* to have the correct source the same way /notice $* doesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6588 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-17Remove redundant debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6587 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-17Drop the invalid command generated by the bearbot CTCP TIME checkbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6586 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-17Check CTCP TIME on bearbotsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6585 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-17Get rid of a compile warning. We should remember to use time_t for time ↵peavey
variables and not unsigned int. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6584 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-17Yes, we know how to spell voluntary (and involuntary!) :<om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6583 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-14Force ipv4 lookups here - cgiirc doesnt support ipv6 anyway.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6582 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-12Fixed <link:bind> which was only working on an ipv6 connection. Fixes bug ↵brain
#213 reported by owine git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6581 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-12Change around the order of InspIRCd::Cleanup(), as per bug #212brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6580 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-12I'm not sure OnPostOper is called for remote opering anyway, but to be sure, ↵brain
dont execute it for remote users in this module (just wastes cpu time) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6579 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-12Only apply force join to local clientsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6578 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-12Fix odd warnings from propolice.brain
Obviously this isnt valid for it: char b[MAXBUF]; getcwd(b, MAXBUF)..... it demands that b be 1024 in length. odd. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6577 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-12Get rid of a compile warning.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6576 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-11Add m_conn_join, allows force join of a user to one or more channels on ↵brain
connect (ick). Tidy up m_operjoin a little. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6575 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-11Special *slap* seems to have set this to true :/brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6574 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-11Allow for nick!user@host in TOPIC information.brain
Note that this adds another <options> tag value, 'hostintopic'. (defaults to yes) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6572 e03df62e-2008-0410-955e-edbf42e46eb7