Strip leading @ from usernames in the /block and /unblock commands (#3816)

Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
Brian
2022-06-18 07:18:51 -04:00
committed by GitHub
parent 81caf1aae0
commit fd87cbb626
2 changed files with 3 additions and 0 deletions
@@ -334,6 +334,7 @@ void CommandController::initialize(Settings &, Paths &paths)
}
auto target = words.at(1);
stripChannelName(target);
getHelix()->getUserByName(
target,
@@ -379,6 +380,7 @@ void CommandController::initialize(Settings &, Paths &paths)
}
auto target = words.at(1);
stripChannelName(target);
getHelix()->getUserByName(
target,