summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-02-19 00:39:10 +0000
committerSadie Powell <sadie@witchery.services>2020-02-19 00:39:10 +0000
commit895fbdece7736a770dd1ccccaecdc0e350216ee4 (patch)
treeeba1756d4bca299c2883436f7b48facb538ccfbc /include
parent815ab93a9a03c100abb15ac7bc55b70bfb8e43fd (diff)
Fix a copy/paste error in IRCv3::Replies::Reply.
Diffstat (limited to 'include')
-rw-r--r--include/modules/ircv3_replies.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/modules/ircv3_replies.h b/include/modules/ircv3_replies.h
index da895f325..a6e2f3f0c 100644
--- a/include/modules/ircv3_replies.h
+++ b/include/modules/ircv3_replies.h
@@ -176,7 +176,7 @@ class IRCv3::Replies::Reply
const T1& p1, const std::string& description)
{
if (cap.get(user))
- SendIfCap(user, command, code, p1, description);
+ Send(user, command, code, p1, description);
else
SendNoticeInternal(user, command, description);
}
@@ -186,7 +186,7 @@ class IRCv3::Replies::Reply
const T1& p1, const T2& p2, const std::string& description)
{
if (cap.get(user))
- SendIfCap(user, command, code, p1, p2, description);
+ Send(user, command, code, p1, p2, description);
else
SendNoticeInternal(user, command, description);
}
@@ -196,7 +196,7 @@ class IRCv3::Replies::Reply
const T1& p1, const T2& p2, const T3& p3, const std::string& description)
{
if (cap.get(user))
- SendIfCap(user, command, code, p1, p2, p3, description);
+ Send(user, command, code, p1, p2, p3, description);
else
SendNoticeInternal(user, command, description);
}
@@ -206,7 +206,7 @@ class IRCv3::Replies::Reply
const T1& p1, const T2& p2, const T3& p3, const T4& p4, const std::string& description)
{
if (cap.get(user))
- SendIfCap(user, command, code, p1, p2, p3, p4, description);
+ Send(user, command, code, p1, p2, p3, p4, description);
else
SendNoticeInternal(user, command, description);
}
@@ -216,7 +216,7 @@ class IRCv3::Replies::Reply
const T1& p1, const T2& p2, const T3& p3, const T4& p4, const T5& p5, const std::string& description)
{
if (cap.get(user))
- SendIfCap(user, command, code, p1, p2, p3, p4, p5, description);
+ Send(user, command, code, p1, p2, p3, p4, p5, description);
else
SendNoticeInternal(user, command, description);
}