Fix bug in message_telnet_format() when switch statement goes to case message_type_mode and falls into default case
This commit is contained in:
parent
ae481691c7
commit
8bb8607897
1 changed files with 1 additions and 0 deletions
|
@ -679,6 +679,7 @@ namespace pvpgn
|
|||
std::sprintf(msgtemp, "%s change mode: %s\r\n", tname, text);
|
||||
conn_unget_chatcharname(me, tname);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
eventlog(eventlog_level_error, __FUNCTION__, "got bad message type {}", (int)type);
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue