Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion command-execute.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void str_replace(char* buffer, char *str, char *orig, char *rep) {

void get_command_with_args(char *buffer, char *cmd, char *sender, char *message) {
// Put sender and message into the command string
char tmp[4096];
char tmp[4096] = { 0 };
str_replace(tmp, cmd, "$sender", sender);
str_replace(buffer, tmp, "$msg", message);
}
Expand Down