Skip to content
Browse files

Add link to wiki page from any nonextra module.

  • Loading branch information...
1 parent 0c840f9 commit 262216731b742a2888b3363facb19115671470b8 Alexey Sokolov committed Jun 11, 2011
View
4 modules/admin.cpp
@@ -857,4 +857,8 @@ class CAdminMod : public CModule {
virtual ~CAdminMod() {}
};
+template<> void TModInfo<CAdminMod>(CModInfo& Info) {
+ Info.SetWikiPage("admin");
+}
+
MODULEDEFS(CAdminMod, "Dynamic configuration of users/settings through IRC")
View
4 modules/adminlog.cpp
@@ -163,4 +163,8 @@ class CAdminLogMod : public CGlobalModule {
CString m_sLogFile;
};
+template<> void TModInfo<CAdminLogMod>(CModInfo& Info) {
+ Info.SetWikiPage("adminlog");
+}
+
GLOBALMODULEDEFS(CAdminLogMod, "Log ZNC events to file and/or syslog.")
View
4 modules/autoattach.cpp
@@ -246,4 +246,8 @@ class CChanAttach : public CModule {
VAttachMatch m_vMatches;
};
+template<> void TModInfo<CChanAttach>(CModInfo& Info) {
+ Info.SetWikiPage("autoattach");
+}
+
MODULEDEFS(CChanAttach, "Reattaches you to channels on activity.")
View
4 modules/autocycle.cpp
@@ -224,4 +224,8 @@ class CAutoCycleMod : public CModule {
vector<CString> m_vsNegChans;
};
+template<> void TModInfo<CAutoCycleMod>(CModInfo& Info) {
+ Info.SetWikiPage("autocycle");
+}
+
MODULEDEFS(CAutoCycleMod, "Rejoins channels to gain Op if you're the only user left")
View
4 modules/autoop.cpp
@@ -463,4 +463,8 @@ void CAutoOpTimer::RunJob() {
m_pParent->ProcessQueue();
}
+template<> void TModInfo<CAutoOpMod>(CModInfo& Info) {
+ Info.SetWikiPage("autoop");
+}
+
MODULEDEFS(CAutoOpMod, "Auto op the good guys")
View
4 modules/autoreply.cpp
@@ -88,5 +88,9 @@ class CAutoReplyMod : public CModule {
TCacheMap<CString> m_Messaged;
};
+template<> void TModInfo<CAutoReplyMod>(CModInfo& Info) {
+ Info.SetWikiPage("autoreply");
+}
+
MODULEDEFS(CAutoReplyMod, "Reply to queries when you are away")
View
4 modules/awaynick.cpp
@@ -186,4 +186,8 @@ void CAwayNickTimer::RunJob() {
}
}
+template<> void TModInfo<CAwayNickMod>(CModInfo& Info) {
+ Info.SetWikiPage("awaynick");
+}
+
MODULEDEFS(CAwayNickMod, "Change your nick while you are away")
View
4 modules/blockuser.cpp
@@ -168,4 +168,8 @@ class CBlockUser : public CGlobalModule {
}
};
+template<> void TModInfo<CBlockUser>(CModInfo& Info) {
+ Info.SetWikiPage("blockuser");
+}
+
GLOBALMODULEDEFS(CBlockUser, "Block certain users from logging in")
View
4 modules/buffextras.cpp
@@ -66,5 +66,9 @@ class CBuffExtras : public CModule {
}
};
+template<> void TModInfo<CBuffExtras>(CModInfo& Info) {
+ Info.SetWikiPage("buffextras");
+}
+
MODULEDEFS(CBuffExtras, "Add joins, parts etc. to the playback buffer")
View
4 modules/cert.cpp
@@ -85,4 +85,8 @@ class CCertMod : public CModule {
}
};
+template<> void TModInfo<CCertMod>(CModInfo& Info) {
+ Info.SetWikiPage("cert");
+}
+
MODULEDEFS(CCertMod, "Use a ssl certificate to connect to a server")
View
4 modules/certauth.cpp
@@ -276,4 +276,8 @@ class CSSLClientCertMod : public CGlobalModule {
MSCString m_PubKeys;
};
+template<> void TModInfo<CSSLClientCertMod>(CModInfo& Info) {
+ Info.SetWikiPage("certauth");
+}
+
GLOBALMODULEDEFS(CSSLClientCertMod, "Allow users to authenticate via SSL client certificates")
View
4 modules/chansaver.cpp
@@ -72,4 +72,8 @@ class CChanSaverMod : public CModule {
bool m_bWriteConf;
};
+template<> void TModInfo<CChanSaverMod>(CModInfo& Info) {
+ Info.SetWikiPage("chansaver");
+}
+
MODULEDEFS(CChanSaverMod, "Keep config up-to-date when user joins/parts")
View
4 modules/clientnotify.cpp
@@ -102,5 +102,9 @@ class CClientNotifyMod : public CModule {
}
};
+template<> void TModInfo<CClientNotifyMod>(CModInfo& Info) {
+ Info.SetWikiPage("clientnotify");
+}
+
MODULEDEFS(CClientNotifyMod, "Notifies you when another IRC client logs into or out of your account. Configurable.")
View
4 modules/crypt.cpp
@@ -151,4 +151,8 @@ class CCryptMod : public CModule {
}
};
+template<> void TModInfo<CCryptMod>(CModInfo& Info) {
+ Info.SetWikiPage("crypt");
+}
+
MODULEDEFS(CCryptMod, "Encryption for channel/private messages")
View
4 modules/disconkick.cpp
@@ -29,4 +29,8 @@ class CKickClientOnIRCDisconnect: public CModule {
}
};
+template<> void TModInfo<CKickClientOnIRCDisconnect>(CModInfo& Info) {
+ Info.SetWikiPage("disconkick");
+}
+
MODULEDEFS(CKickClientOnIRCDisconnect, "Kicks the client from all channels when the connection to the IRC server is lost")
View
4 modules/fail2ban.cpp
@@ -95,4 +95,8 @@ class CFailToBanMod : public CGlobalModule {
unsigned int m_uiAllowedFailed;
};
+template<> void TModInfo<CFailToBanMod>(CModInfo& Info) {
+ Info.SetWikiPage("fail2ban");
+}
+
GLOBALMODULEDEFS(CFailToBanMod, "Block IPs for some time after a failed login")
View
4 modules/fixfreenode.cpp
@@ -22,4 +22,8 @@ class CPreventIdMsgMod : public CModule {
}
};
+template<> void TModInfo<CPreventIdMsgMod>(CModInfo& Info) {
+ Info.SetWikiPage("fixfreenode");
+}
+
MODULEDEFS(CPreventIdMsgMod, "Prevent client from sending IDENTIFY-MSG to server")
View
4 modules/identfile.cpp
@@ -162,4 +162,8 @@ class CIdentFileModule : public CGlobalModule {
}
};
+template<> void TModInfo<CIdentFileModule>(CModInfo& Info) {
+ Info.SetWikiPage("identfile");
+}
+
GLOBALMODULEDEFS(CIdentFileModule, "Write the ident of a user to a file when they are trying to connect")
View
4 modules/keepnick.cpp
@@ -192,4 +192,8 @@ void CKeepNickTimer::RunJob() {
m_pMod->KeepNick();
}
+template<> void TModInfo<CKeepNickMod>(CModInfo& Info) {
+ Info.SetWikiPage("keepnick");
+}
+
MODULEDEFS(CKeepNickMod, "Keep trying for your primary nick")
View
4 modules/kickrejoin.cpp
@@ -108,4 +108,8 @@ class CRejoinMod : public CModule {
}
};
+template<> void TModInfo<CRejoinMod>(CModInfo& Info) {
+ Info.SetWikiPage("kickrejoin");
+}
+
MODULEDEFS(CRejoinMod, "Autorejoin on kick")
View
4 modules/lastseen.cpp
@@ -148,4 +148,8 @@ class CLastSeenMod : public CGlobalModule {
};
+template<> void TModInfo<CLastSeenMod>(CModInfo& Info) {
+ Info.SetWikiPage("lastseen");
+}
+
GLOBALMODULEDEFS(CLastSeenMod, "Collects data about when a user last logged in")
View
4 modules/modperl.cpp
@@ -316,4 +316,8 @@ CPerlSocket::~CPerlSocket() {
}
}
+template<> void TModInfo<CModPerl>(CModInfo& Info) {
+ Info.SetWikiPage("modperl");
+}
+
GLOBALMODULEDEFS(CModPerl, "Loads perl scripts as ZNC modules")
View
4 modules/modpython.cpp
@@ -478,4 +478,8 @@ PyObject* CPySocket::WriteBytes(PyObject* data) {
}
}
+template<> void TModInfo<CModPython>(CModInfo& Info) {
+ Info.SetWikiPage("modpython");
+}
+
GLOBALMODULEDEFS(CModPython, "Loads python scripts as ZNC modules")
View
4 modules/modtcl.cpp
@@ -494,4 +494,8 @@ void CModTclStartTimer::RunJob() {
p->Start();
}
+template<> void TModInfo<CModTcl>(CModInfo& Info) {
+ Info.SetWikiPage("modtcl");
+}
+
MODULEDEFS(CModTcl, "Loads Tcl scripts as ZNC modules")
View
4 modules/nickserv.cpp
@@ -76,4 +76,8 @@ class CNickServ : public CModule
CString m_sPass;
};
+template<> void TModInfo<CNickServ>(CModInfo& Info) {
+ Info.SetWikiPage("nickserv");
+}
+
MODULEDEFS(CNickServ, "Auths you with NickServ")
View
4 modules/notes.cpp
@@ -212,4 +212,8 @@ class CNotesMod : public CModule {
}
};
+template<> void TModInfo<CNotesMod>(CModInfo& Info) {
+ Info.SetWikiPage("notes");
+}
+
MODULEDEFS(CNotesMod, "Keep and replay notes")
View
4 modules/partyline.cpp
@@ -715,4 +715,8 @@ class CPartylineMod : public CGlobalModule {
set<CString> m_ssDefaultChans;
};
+template<> void TModInfo<CPartylineMod>(CModInfo& Info) {
+ Info.SetWikiPage("partyline");
+}
+
GLOBALMODULEDEFS(CPartylineMod, "Internal channels and queries for users connected to znc")
View
4 modules/perform.cpp
@@ -166,4 +166,8 @@ class CPerform : public CModule {
VCString m_vPerform;
};
+template<> void TModInfo<CPerform>(CModInfo& Info) {
+ Info.SetWikiPage("perform");
+}
+
MODULEDEFS(CPerform, "Keeps a list of commands to be executed when ZNC connects to IRC.")
View
4 modules/q.cpp
@@ -483,4 +483,8 @@ class CQModule : public CModule {
}
};
+template<> void TModInfo<CQModule>(CModInfo& Info) {
+ Info.SetWikiPage("Q");
+}
+
MODULEDEFS(CQModule, "Auths you with QuakeNet's Q bot.")
View
4 modules/raw.cpp
@@ -28,5 +28,9 @@ class CRawMod : public CModule {
}
};
+template<> void TModInfo<CRawMod>(CModInfo& Info) {
+ Info.SetWikiPage("raw");
+}
+
MODULEDEFS(CRawMod, "View all of the raw traffic")
View
4 modules/route_replies.cpp
@@ -422,4 +422,8 @@ void CRouteTimeout::RunJob()
pMod->Timeout();
}
+template<> void TModInfo<CRouteRepliesMod>(CModInfo& Info) {
+ Info.SetWikiPage("route_replies");
+}
+
MODULEDEFS(CRouteRepliesMod, "Send replies (e.g. to /who) to the right client only")
View
4 modules/sample.cpp
@@ -230,5 +230,9 @@ class CSampleMod : public CModule {
}
};
+template<> void TModInfo<CSampleMod>(CModInfo& Info) {
+ Info.SetWikiPage("sample");
+}
+
MODULEDEFS(CSampleMod, "To be used as a sample for writing modules")
View
4 modules/savebuff.cpp
@@ -335,5 +335,9 @@ void CSaveBuffJob::RunJob()
p->SaveBufferToDisk();
}
+template<> void TModInfo<CSaveBuff>(CModInfo& Info) {
+ Info.SetWikiPage("savebuff");
+}
+
MODULEDEFS(CSaveBuff, "Stores channel buffers to disk, encrypted")
View
5 modules/schat.cpp
@@ -463,5 +463,10 @@ void CRemMarkerJob::RunJob()
// store buffer
}
+
+template<> void TModInfo<CSChat>(CModInfo& Info) {
+ Info.SetWikiPage("schat");
+}
+
MODULEDEFS(CSChat, "Secure cross platform (:P) chat system")
View
3 modules/simple_away.cpp
@@ -216,5 +216,8 @@ void CSimpleAwayJob::RunJob() {
((CSimpleAway*)m_pModule)->SetAway(false);
}
+template<> void TModInfo<CSimpleAway>(CModInfo& Info) {
+ Info.SetWikiPage("simple_away");
+}
MODULEDEFS(CSimpleAway, "Auto away when last client disconnects")
View
4 modules/stickychan.cpp
@@ -187,4 +187,8 @@ bool CStickyChan::OnLoad(const CString& sArgs, CString& sMessage)
return(true);
}
+template<> void TModInfo<CStickyChan>(CModInfo& Info) {
+ Info.SetWikiPage("stickychan");
+}
+
MODULEDEFS(CStickyChan, "configless sticky chans, keeps you there very stickily even")
View
4 modules/watch.cpp
@@ -550,4 +550,8 @@ class CWatcherMod : public CModule {
CBuffer m_Buffer;
};
+template<> void TModInfo<CWatcherMod>(CModInfo& Info) {
+ Info.SetWikiPage("watch");
+}
+
MODULEDEFS(CWatcherMod, "Copy activity from a specific user into a separate window")
View
4 modules/webadmin.cpp
@@ -1126,4 +1126,8 @@ class CWebAdminMod : public CGlobalModule {
}
};
+template<> void TModInfo<CWebAdminMod>(CModInfo& Info) {
+ Info.SetWikiPage("webadmin");
+}
+
GLOBALMODULEDEFS(CWebAdminMod, "Web based administration module")

0 comments on commit 2622167

Please sign in to comment.
Something went wrong with that request. Please try again.