Skip to content

Commit

Permalink
fix /chat crashing tb/game
Browse files Browse the repository at this point in the history
  • Loading branch information
DubbleClick committed Jan 5, 2024
1 parent 7b88670 commit 5875175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GWToolboxdll/Modules/ChatCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ namespace {

void CmdChatTab(const wchar_t*, const int argc, const LPWSTR* argv)
{
if (argc < 1) {
if (argc < 2) {
return Log::Error(chat_tab_syntax);
}
uint32_t channel = 0xff;
Expand Down

0 comments on commit 5875175

Please sign in to comment.