psychon
cb066e2425
Add OnRehashDone() module call
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@969 726aef4b-f618-498e-8847-2d620e286838
2008-02-29 16:47:34 +00:00
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
0adf4e5af3
Remove OnConfigLine() module call
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@945 726aef4b-f618-498e-8847-2d620e286838
2008-02-07 22:25:58 +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
55a3fa0e05
Remove OnFinishedConfig() module call
...
No one used it anyway
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@909 726aef4b-f618-498e-8847-2d620e286838
2008-01-03 21:00:25 +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
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
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
994650e2a7
Patched using fix_no_modules_support.patch by psycho
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@767 726aef4b-f618-498e-8847-2d620e286838
2006-09-16 18:19:59 +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
d91109d777
Added OnFailedLogin() global module hook
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@720 726aef4b-f618-498e-8847-2d620e286838
2006-04-06 09:10:04 +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
57fb9fc867
Added OnDeleteUser() global module hook
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@702 726aef4b-f618-498e-8847-2d620e286838
2006-03-19 22:13:02 +00:00
prozacx
97fd4d0c7b
Added OnLoginAttempt()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@689 726aef4b-f618-498e-8847-2d620e286838
2006-03-16 00:04:14 +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
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
fb9a062fdb
Added module hooks for OnUserJoin() and OnUserPart()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@566 726aef4b-f618-498e-8847-2d620e286838
2005-10-12 02:12:42 +00:00
prozacx
7f82c4b408
Added SetUserSock() for global modules
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@564 726aef4b-f618-498e-8847-2d620e286838
2005-10-11 08:04:53 +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
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
8e3c57a144
Added OnBroadcast()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@527 726aef4b-f618-498e-8847-2d620e286838
2005-09-24 04:29:29 +00:00
prozacx
3e35a07303
Added ability to load modules as 'fake' just to act as a placeholder
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@519 726aef4b-f618-498e-8847-2d620e286838
2005-09-22 07:05:21 +00:00
prozacx
82907aa0f2
Got rid of CUser::FindModPath()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@513 726aef4b-f618-498e-8847-2d620e286838
2005-09-20 01:56:32 +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
750cb398e4
Only error if REQUIRESSL is set *and* HAVE_LIBSSL is not set
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@462 726aef4b-f618-498e-8847-2d620e286838
2005-09-06 22:49:15 +00:00
prozacx
b0a61b8890
Added REQUIRESSL for modules who absolutely must have ssl
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@458 726aef4b-f618-498e-8847-2d620e286838
2005-09-06 22:40:09 +00:00
prozacx
3fbb717511
Added Set/GetArgs() for telling the args a mod was loaded with
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@437 726aef4b-f618-498e-8847-2d620e286838
2005-07-18 01:58:44 +00:00
prozacx
f6f438a543
Made some functions const
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@431 726aef4b-f618-498e-8847-2d620e286838
2005-07-11 05:20:01 +00:00
prozacx
4796f3cb16
Added GetZNC()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@404 726aef4b-f618-498e-8847-2d620e286838
2005-07-04 23:13:58 +00:00
prozacx
7e95256bcb
Added Put*() wrappers in CSocket
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@386 726aef4b-f618-498e-8847-2d620e286838
2005-06-13 04:17:35 +00:00
prozacx
a019a9b439
Added GetSavePath() for getting the path to save data to
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@382 726aef4b-f618-498e-8847-2d620e286838
2005-06-12 09:00:33 +00:00
prozacx
c48f13a4a9
Added support for sockets within modules
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@378 726aef4b-f618-498e-8847-2d620e286838
2005-06-01 23:30:15 +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
prozacx
79606514b0
No longer require g_* prefix for global modules
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@361 726aef4b-f618-498e-8847-2d620e286838
2005-05-26 09:15:15 +00:00
prozacx
c041a6e17f
Added global module hook OnConfigLine()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@355 726aef4b-f618-498e-8847-2d620e286838
2005-05-24 01:31:37 +00:00
prozacx
0bbab8f472
Added some more global module support
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@349 726aef4b-f618-498e-8847-2d620e286838
2005-05-22 02:03:31 +00:00
prozacx
3dde793e62
Added global module functionality
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@348 726aef4b-f618-498e-8847-2d620e286838
2005-05-22 00:47:36 +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
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
prozacx
8676e35172
Fixed some whitespace
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@324 726aef4b-f618-498e-8847-2d620e286838
2005-05-16 15:43:15 +00:00
prozacx
44d38ec4c9
Changed return value from bool to EModRet on most hooks
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@306 726aef4b-f618-498e-8847-2d620e286838
2005-05-15 08:27:27 +00:00
imaginos
ad9912f569
don't unwittingly insert the value if its not there
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@300 726aef4b-f618-498e-8847-2d620e286838
2005-05-15 04:03:04 +00:00
imaginos
1f4f4aab64
finished building out module/user based registry system (round 1)
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@299 726aef4b-f618-498e-8847-2d620e286838
2005-05-15 03:49:11 +00:00
prozacx
bb4a189aa8
Added OnChanPermission() hook for when people get opped, voiced, deopped, halfopped, etc
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@280 726aef4b-f618-498e-8847-2d620e286838
2005-05-14 00:21:24 +00:00