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
afaf1e30b2
Remove third argument of main()
...
According to [1] the three-argument form of main() should be avoided and since
we have no reason to use that one, let's avoid it.
1: http://www.gnu.org/software/libc/manual/html_node/Program-Arguments.html
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@907 726aef4b-f618-498e-8847-2d620e286838
2007-12-27 20:58:13 +00:00
psychon
b490b12058
Fix some gcc 4.3 warnings
...
These are mostly string casts, handling function's return value and some
weird warning about missing spaces on empty while loops.
These were reported by and fixed with Marcus Rueckert <darix@opensu.se >.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@904 726aef4b-f618-498e-8847-2d620e286838
2007-12-20 18:31:48 +00:00
psychon
dafa074b58
Fix sf.net bug 1804815.
...
We never called srand().
Thanks to feuerfuchs for reporting.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@847 726aef4b-f618-498e-8847-2d620e286838
2007-10-01 14:15:57 +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
19f5753bb3
Clarify meaning of --datadir with an example
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@836 726aef4b-f618-498e-8847-2d620e286838
2007-09-03 20:18:43 +00:00
psychon
c9e8691229
Honour --datadir when restarting ZNC
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@792 726aef4b-f618-498e-8847-2d620e286838
2007-04-11 15:18:21 +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
a226903e46
Patched using fix_makeconf.patch by psycho
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@766 726aef4b-f618-498e-8847-2d620e286838
2006-09-16 18:15:56 +00:00
prozacx
6d0586a7c5
Patched using getopt_usage.patch by x-x
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@761 726aef4b-f618-498e-8847-2d620e286838
2006-09-16 17:11:02 +00:00
imaginos
3bd8a7ab52
remove compression initialization until standard has normalized a bit
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@754 726aef4b-f618-498e-8847-2d620e286838
2006-09-13 15:28:10 +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
imaginos
18f1274913
fixed use of --encrypt-pem
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@730 726aef4b-f618-498e-8847-2d620e286838
2006-05-04 12:02:36 +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
ca8247058f
Added ipv6 support and multiple listen ports
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@641 726aef4b-f618-498e-8847-2d620e286838
2006-02-11 10:06:45 +00:00
prozacx
bf1715973b
Added prompt for pem file generation
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@557 726aef4b-f618-498e-8847-2d620e286838
2005-10-10 04:33:30 +00:00
prozacx
9255c1dbdc
Fixed typo - thanks Kuja
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@555 726aef4b-f618-498e-8847-2d620e286838
2005-10-09 22:45:41 +00:00
prozacx
b94b4e5c82
Allow default config of znc.conf when using --makeconf
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@554 726aef4b-f618-498e-8847-2d620e286838
2005-10-09 22:23:32 +00:00
prozacx
c5eeaa2c1d
Delete static allocated CZNC
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@542 726aef4b-f618-498e-8847-2d620e286838
2005-10-08 07:03:58 +00:00
prozacx
1929ce5ba9
Renamed CZNC::New() to CZNC::Get() and return a static reference instead of a pointer
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@504 726aef4b-f618-498e-8847-2d620e286838
2005-09-19 02:19:17 +00:00
prozacx
e94dbf13f6
Print error if execve() fails
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@483 726aef4b-f618-498e-8847-2d620e286838
2005-09-11 17:37:56 +00:00
prozacx
9c5d60fe7a
Remove the unwanted --makeconf option when launching znc after writing a config
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@481 726aef4b-f618-498e-8847-2d620e286838
2005-09-09 07:16:29 +00:00
prozacx
94630d2b74
Launch znc if user answers 'yes'
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@477 726aef4b-f618-498e-8847-2d620e286838
2005-09-09 04:39:49 +00:00
prozacx
6249e41c6f
Renamed md5.cpp/h to MD5.cpp/h
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@468 726aef4b-f618-498e-8847-2d620e286838
2005-09-07 05:16:01 +00:00
prozacx
878c5d5a2b
Changed behavior to only prompt for config creation when --makeconf is supplied - stops crontab from spawning indefinately
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@402 726aef4b-f618-498e-8847-2d620e286838
2005-07-01 18:52:58 +00:00
prozacx
67e9b0ecd8
Added a message when not forking because we are in debug mode
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@258 726aef4b-f618-498e-8847-2d620e286838
2005-05-10 21:43:03 +00:00
prozacx
fbc9098fdb
Removed debug print
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@252 726aef4b-f618-498e-8847-2d620e286838
2005-05-08 08:46:31 +00:00
prozacx
223a660ca1
Moved CUtils::ToString() into CString class
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@248 726aef4b-f618-498e-8847-2d620e286838
2005-05-08 06:24:40 +00:00
prozacx
511832a8d6
Moved CUtils::Trim() into CString class
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@247 726aef4b-f618-498e-8847-2d620e286838
2005-05-08 04:30:14 +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
3ceb15a975
Changed to using CZNC::GetTag()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@224 726aef4b-f618-498e-8847-2d620e286838
2005-05-01 20:28:47 +00:00
prozacx
43e170313e
Added --version and reformatted some whitespace
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@222 726aef4b-f618-498e-8847-2d620e286838
2005-05-01 17:25:50 +00:00
prozacx
2d359f53d5
Renamed some stuff
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@217 726aef4b-f618-498e-8847-2d620e286838
2005-05-01 02:15:48 +00:00
prozacx
18a4a7894b
Changed method of obtaining pass to CUtils::GetHashPass()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@207 726aef4b-f618-498e-8847-2d620e286838
2005-04-29 08:31:44 +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
3f0dd6c3ea
Added a confirmation to --makepass
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@194 726aef4b-f618-498e-8847-2d620e286838
2005-04-26 16:41:21 +00:00
prozacx
389ca95682
Write pid before printing final status msg
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@180 726aef4b-f618-498e-8847-2d620e286838
2005-04-24 06:15:36 +00:00
prozacx
6a3a11a555
Removed an old commented line
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@178 726aef4b-f618-498e-8847-2d620e286838
2005-04-24 06:02:12 +00:00
prozacx
3fe14f6ed2
Added SHUTDOWN user command by way of an exception
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@154 726aef4b-f618-498e-8847-2d620e286838
2005-04-19 18:26:18 +00:00
prozacx
b1c12d2fba
Removed call to daemon() since it forks and was changing our pid
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@151 726aef4b-f618-498e-8847-2d620e286838
2005-04-18 22:11:35 +00:00
imaginos
1db82b6616
use daemon to close fd's and finally daemonize the process
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@149 726aef4b-f618-498e-8847-2d620e286838
2005-04-18 06:11:33 +00:00
prozacx
0679cf55ad
Changed error msg
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@140 726aef4b-f618-498e-8847-2d620e286838
2005-04-17 23:44:54 +00:00
prozacx
a9d08422f5
Added colorful printing functions
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@139 726aef4b-f618-498e-8847-2d620e286838
2005-04-17 19:05:06 +00:00
prozacx
097b281ed3
Made --makepem use GetPemLocation() and print a message on success
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@96 726aef4b-f618-498e-8847-2d620e286838
2005-04-04 04:21:55 +00:00
imaginos
788f1415e1
adjust to coding style, wrap initssl with defs
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@89 726aef4b-f618-498e-8847-2d620e286838
2005-04-03 20:59:25 +00:00
imaginos
de1f9e1bcf
added long options
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@88 726aef4b-f618-498e-8847-2d620e286838
2005-04-03 20:56:41 +00:00
prozacx
267e2703eb
Don't fill in znc.conf if no config is passed
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@80 726aef4b-f618-498e-8847-2d620e286838
2005-04-03 07:49:11 +00:00
imaginos
b1a328d665
updating to newer Csocket code
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@49 726aef4b-f618-498e-8847-2d620e286838
2005-03-30 19:19:44 +00:00
imaginos
b632c43bd2
additional debug info during debug
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@25 726aef4b-f618-498e-8847-2d620e286838
2004-09-04 16:23:19 +00:00
imaginos
44cba5b559
term would hang aftfter launch on logout do to open fd's related to stderr/stdin/stdout
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@22 726aef4b-f618-498e-8847-2d620e286838
2004-08-28 17:11:37 +00:00