Daniel Wallace
f941ee5870
remove pModule from Ismatch
2012-11-23 08:17:52 -05:00
Daniel Wallace
77e4ae5408
include Module when instantiating CAttachMatch
...
This allows for the use of stuff like %nick% through ExpandString in the
search feature.
2012-11-22 18:03:43 -05:00
Daniel Wallace
addd047465
add string searching for autoattach
2012-11-21 23:03:27 -05: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
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
Alexey Sokolov
c86a61239e
Trim spaces from end of commands to autoattach.
2011-10-04 00:30:40 +07: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
Alexey Sokolov
262216731b
Add link to wiki page from any nonextra module.
2011-06-11 18:09:56 +07:00
Uli Schlachter
6deae62c5b
autoattach: Allow limiting by hostmask
...
This adds hostmasks to autoattach. E.g. if you don't like me, you add an entry
of "! * psychon!*" and autoattach won't attach you to channels just because I
said something. The same can be done in the non-negated case, "only attach when
foo says something".
Signed-off-by: Uli Schlachter <psychon@znc.in >
2011-05-15 13:15:51 +02:00
Kyle Fuller
c9f5fc4ecf
Make the autoattach module use the new CModCommand API
2011-03-03 19:03:44 +00: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
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
psychon
5d9a22f6cc
Use CString::Split() in more places
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1808 726aef4b-f618-498e-8847-2d620e286838
2010-03-07 11:08:26 +00:00
psychon
472bc6f5c7
autoattach: Attach on channel actions
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1778 726aef4b-f618-498e-8847-2d620e286838
2010-02-19 17:11:56 +00:00
psychon
1d88f564dc
Fix a bunch of style suggestions from cppcheck[1]
...
Thanks to DarthGandalf for this patch. You must be bored. :P
[1] cppcheck.sf.net
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1776 726aef4b-f618-498e-8847-2d620e286838
2010-02-19 16:21:07 +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
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
adcca250e1
Use the new CModule::PutModule(const CTable&) in various modules
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1169 726aef4b-f618-498e-8847-2d620e286838
2008-08-24 12:51:04 +00:00
psychon
bea3d85e8c
autoattach: Don't allow adding the same entry twice
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1100 726aef4b-f618-498e-8847-2d620e286838
2008-06-22 14:06:01 +00:00
psychon
8f22dcc60d
Fix all those warnings from -Wshadow
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@964 726aef4b-f618-498e-8847-2d620e286838
2008-02-19 20:25:21 +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
ef02c621a6
Spelling fixage
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@895 726aef4b-f618-498e-8847-2d620e286838
2007-12-02 15:39:27 +00:00
psychon
496e164bef
Let autoattach save and reload its settings when it's loaded
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@889 726aef4b-f618-498e-8847-2d620e286838
2007-12-02 09:23:49 +00:00
psychon
67342d0c29
Add a del command to autoattach
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@878 726aef4b-f618-498e-8847-2d620e286838
2007-11-24 21:24:15 +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
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
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
0ca4448a7d
Module to reattach you to channels on activity
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@492 726aef4b-f618-498e-8847-2d620e286838
2005-09-13 23:53:38 +00:00