psychon
f74ab87e19
And fix a shitload of trailing whitespaces and space / tab mixups in ZNC
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@959 726aef4b-f618-498e-8847-2d620e286838
2008-02-16 12:52:11 +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
1360effd31
This covers the code changes for the datadir move (which is now finished)
...
Based on darix' patch I wrote this. Modperl's changes were not tested since I
didn't find someone who could test it. Well...
Ah and btw it regenerates configure
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@902 726aef4b-f618-498e-8847-2d620e286838
2007-12-12 21:15:44 +00:00
psychon
ee350ab744
Change second argument to module in OnLoad() from sErrorMsg to sMessage.
...
This message is always displayed when the module returns (well, screw webadmin)
and this way a module can notify the user if it loaded but something unexpected
happened.
As you might guess, no one uses this ATM :)
Proposal comes from prozac
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@855 726aef4b-f618-498e-8847-2d620e286838
2007-10-28 17:57:07 +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
ac805c59a9
Fix warnings from -Woverloaded-virtual.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@816 726aef4b-f618-498e-8847-2d620e286838
2007-07-19 22:28:54 +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
imaginos
4338d9dda7
changed from char * to const char * argument per perlguts
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@739 726aef4b-f618-498e-8847-2d620e286838
2006-07-09 19:11:28 +00:00
prozacx
810369db4b
Fixed small issue with newest gcc
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@700 726aef4b-f618-498e-8847-2d620e286838
2006-03-17 20:54:16 +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
imaginos
c67c67abe7
missed a spot
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@654 726aef4b-f618-498e-8847-2d620e286838
2006-02-13 06:07:05 +00:00
imaginos
380023e853
use u_short
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@653 726aef4b-f618-498e-8847-2d620e286838
2006-02-13 06:01:57 +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
3ef968b17e
Changed DataPath to SavePath
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@587 726aef4b-f618-498e-8847-2d620e286838
2005-12-27 18:37:48 +00:00
prozacx
6d27d1c021
Removed const from args in a bunch of hooks
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@538 726aef4b-f618-498e-8847-2d620e286838
2005-09-26 23:09:05 +00:00
prozacx
49d71a9b55
Removed const from CNick in priv/chan hooks
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@537 726aef4b-f618-498e-8847-2d620e286838
2005-09-26 08:23:30 +00:00
prozacx
b9b7844a82
Changed from CUser::GetPemLocation() to CZNC::GetPemLocation()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@517 726aef4b-f618-498e-8847-2d620e286838
2005-09-20 04:31:19 +00:00
prozacx
89e5079ce9
Upgrading to CZNC::Get()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@508 726aef4b-f618-498e-8847-2d620e286838
2005-09-19 04:09:37 +00:00
prozacx
fb221fb906
wrapped two cerr calls in DEBUG_ONLY()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@489 726aef4b-f618-498e-8847-2d620e286838
2005-09-13 06:44:21 +00:00
prozacx
602bd53d3e
Got rid of some warnings that were given on a redhat opteron in 64bit
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@471 726aef4b-f618-498e-8847-2d620e286838
2005-09-07 06:56:54 +00:00
imaginos
dbfaa3850a
only if ssl is enabled
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@393 726aef4b-f618-498e-8847-2d620e286838
2005-06-28 07:11:55 +00:00
prozacx
296b535d5f
Commented GetDataPath() as it has been replaced
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@385 726aef4b-f618-498e-8847-2d620e286838
2005-06-12 09:07:43 +00:00
prozacx
c52542e469
Moved GetDescription() into second argument of MODULEDEFS()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@366 726aef4b-f618-498e-8847-2d620e286838
2005-05-26 20:42:13 +00:00
imaginos
4146d36088
moved modperl back to original convention
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@362 726aef4b-f618-498e-8847-2d620e286838
2005-05-26 16:30:22 +00:00
imaginos
467f1b8f7a
made modperl global
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@351 726aef4b-f618-498e-8847-2d620e286838
2005-05-22 19:41:12 +00:00
imaginos
c3a191d885
be sure to enable readline
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@346 726aef4b-f618-498e-8847-2d620e286838
2005-05-19 00:37:28 +00:00
imaginos
c553407041
fix module reloading, works now
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@343 726aef4b-f618-498e-8847-2d620e286838
2005-05-18 22:59:46 +00:00
imaginos
d31526aecd
grab default pem file
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@340 726aef4b-f618-498e-8847-2d620e286838
2005-05-18 22:18:47 +00:00
imaginos
62e8bc9585
finish out inbound sockets
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@337 726aef4b-f618-498e-8847-2d620e286838
2005-05-18 18:10:53 +00:00
imaginos
0b8b450b29
add an oopish model to sockets as well
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@335 726aef4b-f618-498e-8847-2d620e286838
2005-05-18 09:15:33 +00:00
imaginos
2184811b0d
tested outbound connections, looks good so far
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@334 726aef4b-f618-498e-8847-2d620e286838
2005-05-18 07:12:18 +00:00
imaginos
aae356d498
implement sockets, thus far untested
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@333 726aef4b-f618-498e-8847-2d620e286838
2005-05-18 06:12:41 +00:00
imaginos
2d1602ec4c
bring Csocket up to date, includes new needed function GetSockByFD()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@332 726aef4b-f618-498e-8847-2d620e286838
2005-05-18 03:22:52 +00:00
imaginos
f8dc1a112a
pave the road for socket support, add in some ease of use functions and generally cleanup code
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@331 726aef4b-f618-498e-8847-2d620e286838
2005-05-17 18:53:38 +00:00
prozacx
1437f279b5
Changed CChan reference to non-const in all hooks
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@330 726aef4b-f618-498e-8847-2d620e286838
2005-05-17 17:18:35 +00:00
imaginos
2b2822ba2a
created CORE syntax and subsequent xs versions of modlod, etc
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@329 726aef4b-f618-498e-8847-2d620e286838
2005-05-17 07:53:55 +00:00
imaginos
51440b4b7c
finish off module timers
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@327 726aef4b-f618-498e-8847-2d620e286838
2005-05-17 04:58:53 +00:00
imaginos
a31064dd00
added module loading support, should work out of the box now
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@325 726aef4b-f618-498e-8847-2d620e286838
2005-05-16 17:24:31 +00:00
imaginos
1f16b12c35
made modperl more oopish in preperation for global modules
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@322 726aef4b-f618-498e-8847-2d620e286838
2005-05-16 06:47:10 +00:00
imaginos
21af04df7d
use newCONSTSUB for these
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@314 726aef4b-f618-498e-8847-2d620e286838
2005-05-16 02:10:42 +00:00
imaginos
fb4d74d981
updated to use new module hook returns, added constants to be used
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@308 726aef4b-f618-498e-8847-2d620e286838
2005-05-15 18:14:05 +00:00
imaginos
47bc3c99f7
wrapped a bunch of getters
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@297 726aef4b-f618-498e-8847-2d620e286838
2005-05-15 00:29:43 +00:00
imaginos
dee452596e
fix up the timer, fix function names to include ZNC namespace
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@296 726aef4b-f618-498e-8847-2d620e286838
2005-05-14 17:58:38 +00:00
imaginos
f5153402ae
bool in wrong order, remove CSTR macro, added GetNick to return current nick
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@295 726aef4b-f618-498e-8847-2d620e286838
2005-05-14 10:27:55 +00:00
imaginos
8d144ef828
using all common code now
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@293 726aef4b-f618-498e-8847-2d620e286838
2005-05-14 08:43:22 +00:00
imaginos
4ae5746e70
make perl hash map, update to use new getpermstr
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@290 726aef4b-f618-498e-8847-2d620e286838
2005-05-14 08:19:10 +00:00
imaginos
2d82d4c241
added method to get list of nicks on a channel
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@289 726aef4b-f618-498e-8847-2d620e286838
2005-05-14 07:52:55 +00:00
imaginos
4c5016ca29
dont require all args for Put*
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@288 726aef4b-f618-498e-8847-2d620e286838
2005-05-14 07:26:33 +00:00
imaginos
ecfdb16807
need to throw G_KEEPERR flag when calling ZNC::Eval
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@287 726aef4b-f618-498e-8847-2d620e286838
2005-05-14 05:15:34 +00:00