aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-06-29 12:03:58 +0100
committerGravatar Sadie Powell2025-06-29 12:03:58 +0100
commitff9ac65489ceea7debc9c370cba612d73f234f08 (patch)
treef4f63257995c5b8b16dee89b3966ee797e9bff8c
parentAdd flag support to rline. (diff)
Fix an inverted condition in rline.
-rw-r--r--src/modules/m_rline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_rline.cpp b/src/modules/m_rline.cpp
index 0c5be74e9..9c16e8291 100644
--- a/src/modules/m_rline.cpp
+++ b/src/modules/m_rline.cpp
@@ -49,7 +49,7 @@ public:
/* This can throw on failure, but if it does we DONT catch it here, we catch it and display it
* where the object is created, we might not ALWAYS want it to output stuff to snomask x all the time
*/
- regex = useflags ? rxfactory->Create(regexs) : rxfactory->CreateHuman(regexs);
+ regex = useflags ? rxfactory->CreateHuman(regexs) : rxfactory->Create(regexs);
}
bool Matches(User* u) const override