aboutsummaryrefslogtreecommitdiffstats
path: root/modules/swhois.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-02-10 21:55:31 +0000
committerGravatar Sadie Powell2026-02-10 21:55:31 +0000
commitd0ea158c52e3cdb07d12c1491aa5ea0ae26339e2 (patch)
treea837aa7e084029f5ca9fce6405e09ef1385abed3 /modules/swhois.cpp
parentAdd the rewritten swhois module. (diff)
Fix a typo in the swhois module.
Diffstat (limited to 'modules/swhois.cpp')
-rw-r--r--modules/swhois.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/swhois.cpp b/modules/swhois.cpp
index 6ffb208a7..080621f94 100644
--- a/modules/swhois.cpp
+++ b/modules/swhois.cpp
@@ -320,7 +320,7 @@ private:
auto deleted = false;
if (message.length() > 1 && message[0] == '@')
{
- auto tag = message.substr(0);
+ auto tag = message.substr(1);
deleted = DelSWhois(cmdswhois.swhoisext, user, [&tag](const SWhois& swhois) {
return swhois.tag == tag;
}, false);