Alexey Sokolov
7b1133de77
sample should be network module, not user module.
...
Network modules are easier to write
2015-01-18 21:26:42 +00:00
Falk Seidel
2e29d49a53
Welcome to 2015
2014-12-31 11:28:38 +01:00
Alexey Sokolov
abb0ca5bd3
Fix build without threads
2014-11-24 21:28:40 +00:00
J-P Nurmi
f9318d02cf
modules: use override keyword
...
Resolves #736
2014-11-05 08:00:02 +01:00
J-P Nurmi
1bacec1dd3
Modules: use public API
...
Avoid accessing protected member variables directly, so
there's a chance of cleaning up the module API later.
2014-10-06 21:51:36 +02:00
Uli Schlachter
5a6224d2b4
sample: Add an example for CModuleJob
...
Signed-off-by: Uli Schlachter <psychon@znc.in >
2014-08-06 23:31:26 +02:00
Falk Seidel
f19b4caa43
Welcome to 2014 - year 10 with ZNC
2013-12-31 10:10:55 +01:00
Alexey Sokolov
b2dcad5fd4
Change ZNC license to Apache 2.0
...
The following people agreed with the change, in alphabetical order:
(people who approved in several ways are listed only once)
By email:
- Adam (from Anope)
- Austin Morton
- Brian Campbell
- Christian Walde
- Daniel Holbert
- Daniel Wallace
- Falk Seidel
- Heiko Hund
- Ingmar Runge
- Jim Hull
- Kyle Fuller
- Lee Aylward
- Martin Martimeo
- Matt Harper
- Michael J Edgar
- Michael Ziegler
- Nick Bebout
- Paul Driver
- Perry Nguyen
- Philippe (cycomate)
- Reuben Morais
- Roland Hieber
- Sebastian Ramacher
- Stefan Rado
- Stéphan Kochen
- Thomas Ward
- Toon Schoenmakers
- Veit Wahlich
- Wulf C. Krueger
By IRC:
- CNU
- Jonas Gorski
- Joshua M. Clulow
- Prozac/SHiZNO
- SilverLeo
- Uli Schlachter
At https://github.com/znc/znc/issues/311 :
- Alexey Sokolov
- Elizabeth Myers
- flakes
- Jens-Andre Koch
- Jyzee
- KindOne/ineedalifetoday
- Lee Williams
- Mantas Mikulėnas
- md-5
- Reed Loden
At the last few pull requests' comments:
- Allan Odgaard
- Jacob Baines
- Lluís Batlle i Rossell
- ravomavain
- protomouse
The following commits' authors didn't respond:
Trivial changes:
- f70f1086fd
- 4ca8b50e45
The changes which are not presented in master anymore:
- 5512ed2ea0
- 960a4498f7
- 0f739de2c0
- 7f53cc810b
Fix #311
Fix #218
2013-06-14 00:43:34 +04:00
KindOne
2db7307ac3
Remove unneeded headers.
2013-03-08 01:47:57 +07:00
Un1matr1x
3a34593359
The same procedure as last year, Miss sophie?
...
Same procedure as every year, James.
2012-12-31 12:44:31 +01:00
Alexey Sokolov
62c9ac1a0b
using in headers is evil :(
2012-07-26 20:46:11 +07:00
Alexey Sokolov
fca5eebe53
Fix presense and help of module arguments.
...
See github issue #192
2012-07-17 09:14:02 +07:00
Jens-Andre Koch
92ec938150
Added Webskin "znc-ation"
2012-03-28 12:24:27 +02:00
Alexey Sokolov
ae68a5a608
Mods are network mods by default.
...
Network modules are the simplest ones.
2012-02-04 00:29:58 +07:00
Un1matr1x
73270ff023
Welcome in 2012
2012-01-01 09:30:19 +01:00
Kyle Fuller
b8c2da95f1
Make the OnInvite hook return EModRet so we can ignore invites
2011-10-21 00:20:58 +00:00
Alexey Sokolov
e354c24ac1
Move ZNC headers into own directory.
...
Yes, this breaks backwards compatibility, so what?
It's already broken with network stuff anyway.
2011-09-23 03:31:58 +07:00
Kyle Fuller
0b1627c529
Make all the modules support networks
2011-08-24 19:07:32 +01:00
Alexey Sokolov
262216731b
Add link to wiki page from any nonextra module.
2011-06-11 18:09:56 +07:00
psychon
b9b0fd4c87
Oh, shiny... NOT
...
(Yes, it's that time of the year again)
Signed-off-by: Uli Schlachter <psychon@znc.in >
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2260 726aef4b-f618-498e-8847-2d620e286838
2011-01-14 17:03:24 +00:00
darthgandalf
a0c0b73590
Add new parameter to OnPart module hook: part message.
...
Sorry for API change :)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2215 726aef4b-f618-498e-8847-2d620e286838
2010-12-30 11:28:41 +00:00
psychon
99f1efc843
Some more fun with tabs
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1966 726aef4b-f618-498e-8847-2d620e286838
2010-05-02 08:36:57 +00:00
silverleo
07d7477dec
It's 2010, where's my hoverboard?
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1693 726aef4b-f618-498e-8847-2d620e286838
2010-01-06 09:37:05 +00:00
psychon
08ad0291ea
Happy New Year 2009 everyone!
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1317 726aef4b-f618-498e-8847-2d620e286838
2009-01-01 12:22:21 +00:00
silverleo
9952e8d2c5
Added OnTimerAutoJoin(). Patch from Freman. Thanks :)
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1272 726aef4b-f618-498e-8847-2d620e286838
2008-11-25 10:53:40 +00:00
silverleo
c71565103c
Added OnIRCRegistration(). Patch from Freman. Thanks :)
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1271 726aef4b-f618-498e-8847-2d620e286838
2008-11-24 17:56:34 +00:00
silverleo
94f6e2cf79
Change OnStatusCommand to use non-const variable like most of the EModRet modulecalls
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1262 726aef4b-f618-498e-8847-2d620e286838
2008-10-26 19:47:17 +00:00
kroimon
5237a24747
Use CString::Equals() everywhere.
...
* (CString::CaseCmp() == 0) became CString::Equals()
* (CString::CaseCmp() != 0) became !CString::Equals()
* replaced some occurrences of strn?casecmp
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1234 726aef4b-f618-498e-8847-2d620e286838
2008-09-30 15:15:59 +00:00
psychon
442ef47c56
Add OnUserTopic module call
...
Patch by SilverLeo
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1086 726aef4b-f618-498e-8847-2d620e286838
2008-06-06 14:27:57 +00:00
psychon
0a5d3013d2
Add OnTopic() module call
...
Thanks to SilverLeo, again.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1011 726aef4b-f618-498e-8847-2d620e286838
2008-04-01 09:03:17 +00:00
psychon
5368d1634f
Make it more clear that the sample module is loaded
...
Some others reported that all their text is read, but they did not know it was
the sample module. Now this should clear
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@916 726aef4b-f618-498e-8847-2d620e286838
2008-01-07 21:32:30 +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
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
prozacx
e06ca0d672
Added contact info
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@753 726aef4b-f618-498e-8847-2d620e286838
2006-09-13 07:48:28 +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
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
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
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
c70860a734
return CONTINUE in OnChanMsg()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@307 726aef4b-f618-498e-8847-2d620e286838
2005-05-15 08:31:33 +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
prozacx
d662bb3cfb
Added OnChanPermission()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@282 726aef4b-f618-498e-8847-2d620e286838
2005-05-14 00:22: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
9b3ac7cb94
Changed vChans to a reference in OnNick and OnQuit (oops)
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@165 726aef4b-f618-498e-8847-2d620e286838
2005-04-23 08:10:34 +00:00
prozacx
c88b835837
Changed OnNick() and OnQuit() to take a vector<CChan*> of common channels
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@164 726aef4b-f618-498e-8847-2d620e286838
2005-04-23 07:24:58 +00:00