diff options
| author | 2026-02-10 21:55:31 +0000 | |
|---|---|---|
| committer | 2026-02-10 21:55:31 +0000 | |
| commit | d0ea158c52e3cdb07d12c1491aa5ea0ae26339e2 (patch) | |
| tree | a837aa7e084029f5ca9fce6405e09ef1385abed3 /modules/swhois.cpp | |
| parent | Add the rewritten swhois module. (diff) | |
Fix a typo in the swhois module.
Diffstat (limited to 'modules/swhois.cpp')
| -rw-r--r-- | modules/swhois.cpp | 2 |
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); |
