Commit Graph

37 Commits

Author SHA1 Message Date
psychon 5370a54012 Add DenySetVHost patch from Veit Wahlich aka cru
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@925 726aef4b-f618-498e-8847-2d620e286838
2008-01-18 22:18:36 +00:00
psychon e72c445694 Clean up includes
All the headers are now self-contained (g++ Header.h -o /dev/null).

Some system headers where moved to the .cpp they are actually needed in,
some of our own headers are includes less. (Especially MD5.h)

Headers are sorted alphabetically while in e.g. FileUtils.cpp FileUtils.h
is the first file included.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@915 726aef4b-f618-498e-8847-2d620e286838
2008-01-07 21:31:16 +00:00
psychon eeec633e30 Update copyright header for 2008
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@910 726aef4b-f618-498e-8847-2d620e286838
2008-01-07 21:13:07 +00:00
psychon db9694836e Commit patches from x-x which split up long lines
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@903 726aef4b-f618-498e-8847-2d620e286838
2007-12-19 20:53:03 +00:00
psychon 64cd0ae1d5 Again a patch which can be called 'by crox'
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@896 726aef4b-f618-498e-8847-2d620e286838
2007-12-02 16:10:08 +00:00
psychon 953bfcbbf4 Add ClearAllChannelBuffers command to *status (ClearBuffer for all channels)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@892 726aef4b-f618-498e-8847-2d620e286838
2007-12-02 15:14:17 +00:00
psychon f74f501d5a Handle CTCP to *status
We only answer to PING and VERSION.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@890 726aef4b-f618-498e-8847-2d620e286838
2007-12-02 09:25:19 +00:00
psychon d0a4831205 Always print a error message to the user if the connection is closed
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@875 726aef4b-f618-498e-8847-2d620e286838
2007-11-17 22:41:26 +00:00
psychon d78369fee0 Main part is: Add disconnect and connect to *status
Other stuff included here:
- Always send the quit message when disconnecting from IRC
- Partly rewrite CConnectUserTimer::RunJob() for some de-uglification


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@874 726aef4b-f618-498e-8847-2d620e286838
2007-11-16 22:37:27 +00:00
psychon a09a7e79f6 Switch to the copyright headers the GPLv2 wants us to have
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@843 726aef4b-f618-498e-8847-2d620e286838
2007-09-21 18:55:33 +00:00
psychon 64f70a7910 Fix compile error reported by N0S.
I guess I should test before committing -.-


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@842 726aef4b-f618-498e-8847-2d620e286838
2007-09-21 11:50:40 +00:00
psychon 7f1feb3cb7 Don't handle USER lines at all when the client is already logged in.
Fix bug 1797023 from sf.net bug tracker. Thanks to Zigara.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@840 726aef4b-f618-498e-8847-2d620e286838
2007-09-18 14:39:54 +00:00
psychon fd8570454e This fixes sf.net bug 1765573 which is a NULL pointer dereference.
Patch was written/tested by x-x and I did the indentation.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@817 726aef4b-f618-498e-8847-2d620e286838
2007-08-05 19:43:25 +00:00
psychon b772e2664e Merged rev 838,888,890,894,899,900,902-904,926,934,963,984-989 from crox's branch:
- Changes to specfile
- define PATH_MAX and RTLD_LOCAL if not defines
- compile fixes
- SetFileName should not set m_iFD
- check for cygwin and do not use -fPIC
- replaced if ... elif with case in configure.in
- handle 437 reply code
- allow disabled channels
- use strerror() in CIRCSock::SockError()
- added GetUser() to CClient and CIRCSock
- added support for traffic accounting
- added names to timers


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@806 726aef4b-f618-498e-8847-2d620e286838
2007-05-17 19:09:17 +00:00
psychon a3b405bd07 sync from my branch rev 983 and 993:
- module api change, if module fails to load it can give back an useful error message
- give a message when client doesnt supply a password when connecting
- some minor cleanup


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@803 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:42:00 +00:00
psychon 9b671ee976 merge rev 936, 939-943 from psychon branch:
- if a client connected before znc connected to irc and if it uses a wrong nick it
   wasnt informed of this -> fixed
- znc.cpp didnt work with --disable-modules
- some stuff which was already merged previously


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@800 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:20:10 +00:00
psychon f601db2cd8 merge with rev 932 psychon branch:
- module call for /me's
- timestamps for playback and query buffer
- WALLOP stuff / fix
- properly join channels _after_ namesx or uhnames were set up
- dont screw up raws on reconnect when you ran /lusers
- change default quit msg and version reply to CZNC::GetTag(false)
- change CZNC::GetTag() to point to sf.net
- kind of an rewrite for partyline, added fixed channels (this doesnt work on irssi,
		did it ever work?)
- add the timestamp support to webadmin too
- add ConnectDelay config option to avoid being killed because we connected too fast
- make znc handle usermodes correctly


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@799 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:13:17 +00:00
prozacx e8c3ebf477 Applied patches from psychon
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@791 726aef4b-f618-498e-8847-2d620e286838
2007-03-21 16:13:08 +00:00
prozacx 0a62274975 Committing patches from crox/psychon
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@790 726aef4b-f618-498e-8847-2d620e286838
2007-03-12 06:26:54 +00:00
prozacx 9170991a5e Patched using forward_msgs_to_other_clients.patch by psycho
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@770 726aef4b-f618-498e-8847-2d620e286838
2006-09-16 20:27:57 +00:00
prozacx f404210170 Patched using linenumbers_load.patch from x-x
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@759 726aef4b-f618-498e-8847-2d620e286838
2006-09-16 04:10:03 +00:00
prozacx 53f1b8f400 Patched using globalmods.patch by x-x
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@758 726aef4b-f618-498e-8847-2d620e286838
2006-09-16 03:30:45 +00:00
prozacx 6dcacaa79e Added contact info
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@752 726aef4b-f618-498e-8847-2d620e286838
2006-09-13 07:39:48 +00:00
prozacx bd8846f1be Added SendBuffer and ClearBuffer client commands
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@745 726aef4b-f618-498e-8847-2d620e286838
2006-08-09 22:31:34 +00:00
prozacx 69f65b2d60 Fixed path constraints in get/send status commands
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@731 726aef4b-f618-498e-8847-2d620e286838
2006-05-05 20:31:08 +00:00
prozacx ea62eaf5a1 Added SetVHost command
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@727 726aef4b-f618-498e-8847-2d620e286838
2006-04-29 22:04:39 +00:00
prozacx 43e4482d87 Fixed potential bug in OnFailedLogin() global hook, thanks x-x
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@722 726aef4b-f618-498e-8847-2d620e286838
2006-04-08 19:48:02 +00:00
prozacx caf61d09ce Added global module hook OnFailedLogin()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@721 726aef4b-f618-498e-8847-2d620e286838
2006-04-08 18:23:08 +00:00
prozacx b740d7cc36 Refactored module hook calling macros into one master macro
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@708 726aef4b-f618-498e-8847-2d620e286838
2006-03-22 08:02:37 +00:00
prozacx be354f113e Added auth class
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@690 726aef4b-f618-498e-8847-2d620e286838
2006-03-16 00:23:55 +00:00
prozacx a9e60b43c5 Migrated away from CString::ToString() in favor of explicit constructors
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@669 726aef4b-f618-498e-8847-2d620e286838
2006-02-25 09:43:35 +00:00
prozacx e03604de6d Better handling of deletion of servers
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@656 726aef4b-f618-498e-8847-2d620e286838
2006-02-14 07:07:30 +00:00
prozacx 0eaf9bdc1e Wrapped TSocketManager into CSockManager
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@650 726aef4b-f618-498e-8847-2d620e286838
2006-02-12 21:00:59 +00:00
prozacx eab420a13b Fixed some issues when modules were not defined
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@632 726aef4b-f618-498e-8847-2d620e286838
2006-02-10 02:25:49 +00:00
prozacx 2cd52ad39a Added support for buffering of /me actions
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@602 726aef4b-f618-498e-8847-2d620e286838
2006-02-01 07:45:54 +00:00
prozacx a45aa54748 Don't allow .. in GET
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@596 726aef4b-f618-498e-8847-2d620e286838
2006-01-07 06:27:03 +00:00
prozacx 712d40065a Renamed CUserSock to CClient
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@584 726aef4b-f618-498e-8847-2d620e286838
2005-10-15 05:11:39 +00:00