From d0ea158c52e3cdb07d12c1491aa5ea0ae26339e2 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 10 Feb 2026 21:55:31 +0000 Subject: Fix a typo in the swhois module. --- modules/swhois.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/swhois.cpp') 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); -- cgit v1.3.1-10-gc9f91