Commit Graph

30 Commits

Author SHA1 Message Date
psychon 86924339a3 Add some 'const' attributes to various functions
No real changes in here, only way more constness...


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1129 726aef4b-f618-498e-8847-2d620e286838
2008-07-14 08:13:06 +00:00
psychon 3ee049bc5a Teach CUser::Clone() to also handle channel settings
Now rehashing can finally change channel settings, too.

One part of this patch worries me: Detaching / Attaching channels
via rehash. Let's see what happens...


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1058 726aef4b-f618-498e-8847-2d620e286838
2008-05-21 14:22:20 +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 71e6ea6e52 Merge rev 1036 from crox 'fixed some compile warnings'
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@844 726aef4b-f618-498e-8847-2d620e286838
2007-09-27 20:35:22 +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 c0e3f3bb03 Add JoinTries config var which sets a limit for channel join tries to avoid
flood issues. This var defaults to 0 which means 'No Limit'.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@811 726aef4b-f618-498e-8847-2d620e286838
2007-07-04 20:15:10 +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
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 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 a490f62dde Renamed CUserSock to CClient
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@581 726aef4b-f618-498e-8847-2d620e286838
2005-10-15 03:55:09 +00:00
prozacx aaec84a317 Added preliminary support for multiple clients per user
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@547 726aef4b-f618-498e-8847-2d620e286838
2005-10-09 08:40:40 +00:00
prozacx 76b6988e4f Added AttachUser()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@499 726aef4b-f618-498e-8847-2d620e286838
2005-09-17 04:05:55 +00:00
prozacx 7e7e85a22f Added GetOptions()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@497 726aef4b-f618-498e-8847-2d620e286838
2005-09-15 04:15:56 +00:00
prozacx 4484999c26 Added WriteConfig()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@436 726aef4b-f618-498e-8847-2d620e286838
2005-07-18 01:57:59 +00:00
prozacx 4df25d55cb Added InConfig() to tell whether this chan is saved in the config or not
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@426 726aef4b-f618-498e-8847-2d620e286838
2005-07-10 23:50:37 +00:00
prozacx 41b5ea4398 Fixed issues with key when joining a 'trying' chan
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@347 726aef4b-f618-498e-8847-2d620e286838
2005-05-20 21:21:40 +00:00
prozacx 93e5b8575b Added functionality for dynamic modes using ISUPPORT (raw 005)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@278 726aef4b-f618-498e-8847-2d620e286838
2005-05-13 23:22:55 +00:00
prozacx 3196299a95 Fixed bug when client tried to cycle.. only attach a user to a chan if it is detached or bForce is set
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@259 726aef4b-f618-498e-8847-2d620e286838
2005-05-10 22:41:49 +00:00
prozacx beb5b49b3f Changed all references to std::string over to CString
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@240 726aef4b-f618-498e-8847-2d620e286838
2005-05-05 18:11:04 +00:00
prozacx 79aaf3d527 Got rid of those pesky trailing whitespaces
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@203 726aef4b-f618-498e-8847-2d620e286838
2005-04-28 23:53:14 +00:00
prozacx c8f8285f65 Added KeepBuffer/Buffer config options to the User class
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@168 726aef4b-f618-498e-8847-2d620e286838
2005-04-23 17:54:20 +00:00
prozacx 92dc3295f3 Added SendBuffer()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@118 726aef4b-f618-498e-8847-2d620e286838
2005-04-07 05:31:21 +00:00
prozacx fa4dd02671 Added ability to retain topics
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@113 726aef4b-f618-498e-8847-2d620e286838
2005-04-05 18:48:57 +00:00
prozacx 66389db912 Improved detaching
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@112 726aef4b-f618-498e-8847-2d620e286838
2005-04-05 07:17:08 +00:00
prozacx b93ad89590 Fixed some issues with setting op/voice status
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@36 726aef4b-f618-498e-8847-2d620e286838
2005-03-10 03:46:02 +00:00
prozacx 946719ba21 Added detaching channels
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@32 726aef4b-f618-498e-8847-2d620e286838
2004-11-07 08:15:57 +00:00
prozacx 67f4a73f4b Added option for AutoCycle
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@31 726aef4b-f618-498e-8847-2d620e286838
2004-11-07 04:28:16 +00:00
prozacx 538d3ece4e Initial revision
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2 726aef4b-f618-498e-8847-2d620e286838
2004-08-24 00:08:51 +00:00