summaryrefslogtreecommitdiff
path: root/backlog.cpp
diff options
context:
space:
mode:
authorWalliski <kim.wallis@aalto.fi>2013-08-08 22:44:42 +0300
committerWalliski <kim.wallis@aalto.fi>2013-08-08 22:44:42 +0300
commit6c84fda5e22c91bed75b505f7aac438f7680b9cc (patch)
treed3c41752f1885b4435ebf8fef2f0018af5030b0f /backlog.cpp
parent6d3e1b350c2fcff8e5b79af4470b3f9cefd5830c (diff)
parent8750e364482b6d517bc89f1169948df845dddd7d (diff)
Merge branch 'master' of https://github.com/FruitieX/znc-backlog
Diffstat (limited to 'backlog.cpp')
-rw-r--r--backlog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/backlog.cpp b/backlog.cpp
index 992c27d..14a88e2 100644
--- a/backlog.cpp
+++ b/backlog.cpp
@@ -33,9 +33,9 @@ protected:
}
};
-class CSampleMod : public CModule {
+class CBacklogMod : public CModule {
public:
- MODCONSTRUCTOR(CSampleMod) {}
+ MODCONSTRUCTOR(CBacklogMod) {}
virtual bool OnLoad(const CString& sArgs, CString& sMessage) {
PutModule("I'm being loaded with the arguments: [" + sArgs + "]");
@@ -45,7 +45,7 @@ public:
return true;
}
- virtual ~CSampleMod() {
+ virtual ~CBacklogMod() {
PutModule("I'm being unloaded!");
}
@@ -71,11 +71,11 @@ public:
}
};
-template<> void TModInfo<CSampleMod>(CModInfo& Info) {
+template<> void TModInfo<CBacklogMod>(CModInfo& Info) {
Info.SetWikiPage("sample");
Info.SetHasArgs(true);
Info.SetArgsHelpText("Description of module arguments goes here.");
}
-USERMODULEDEFS(CSampleMod, "To be used as a sample for writing modules")
+USERMODULEDEFS(CBacklogMod, "To be used as a sample for writing modules")