summaryrefslogtreecommitdiff
path: root/src/modules/m_blockcaps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_blockcaps.cpp')
-rw-r--r--src/modules/m_blockcaps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_blockcaps.cpp b/src/modules/m_blockcaps.cpp
index f7ee81fd5..3db5e1ba8 100644
--- a/src/modules/m_blockcaps.cpp
+++ b/src/modules/m_blockcaps.cpp
@@ -49,7 +49,7 @@ public:
{
chanrec* c = (chanrec*)dest;
- if (c->IsCustomModeSet('P'))
+ if (c->IsModeSet('P'))
{
char* i = (char*)text.c_str();
for (; *i; i++)