summaryrefslogtreecommitdiff
path: root/src/command_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/command_type.h')
-rw-r--r--src/command_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_type.h b/src/command_type.h
index a8e16e6d7..61154ea04 100644
--- a/src/command_type.h
+++ b/src/command_type.h
@@ -482,7 +482,7 @@ struct CommandContainer {
uint32 p2; ///< parameter p2.
uint32 cmd; ///< command being executed.
CommandCallback *callback; ///< any callback function executed upon successful completion of the command.
- char text[32 * MAX_CHAR_LENGTH]; ///< possible text sent for name changes etc, in bytes including '\0'.
+ std::string text; ///< possible text sent for name changes etc.
};
#endif /* COMMAND_TYPE_H */