summaryrefslogtreecommitdiff
path: root/backlog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backlog.cpp')
-rw-r--r--backlog.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/backlog.cpp b/backlog.cpp
index e8f806d..590d15d 100644
--- a/backlog.cpp
+++ b/backlog.cpp
@@ -154,7 +154,12 @@ void CBacklogMod::OnModCommand(const CString& sCommand) {
// now actually print
for (std::vector<CString>::reverse_iterator it = LinesToPrint.rbegin(); it != LinesToPrint.rend(); ++it) {
- PutModule(*it);
+ // if(channel has been joined) {
+ CString Nick = "foo";
+ m_pNetwork->PutUser(":" + Nick + "!znc@znc.in PRIVMSG " + Channel + " :" + *it, GetClient());
+ // } else {
+ // PutModule(*it);
+ // }
}
if(printedLines == 0) {