summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-01-03 16:24:19 +0000
committerPeter Powell <petpow@saberuk.com>2018-01-03 16:24:19 +0000
commit57e4bf97250a20f0b54957f2d5aabf02f158c171 (patch)
treee1bbfa45ea0ad696d576d8d197528c2a28d9415b /src/modules
parent372bb6ec31e26908966ff553b782c9a24a07db6a (diff)
Fix m_chanhistory sending the history notice directly to the user.
Closes #1452.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_chanhistory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chanhistory.cpp b/src/modules/m_chanhistory.cpp
index d95d8fbfb..e8a516b94 100644
--- a/src/modules/m_chanhistory.cpp
+++ b/src/modules/m_chanhistory.cpp
@@ -157,7 +157,7 @@ class ModuleChanHistory : public Module
std::string message("Replaying up to " + ConvToStr(list->maxlen) + " lines of pre-join history");
if (list->maxtime > 0)
message.append(" spanning up to " + ConvToStr(list->maxtime) + " seconds");
- memb->user->WriteNotice(message);
+ memb->WriteNotice(message);
}
for(std::deque<HistoryItem>::iterator i = list->lines.begin(); i != list->lines.end(); ++i)