summaryrefslogtreecommitdiff
path: root/src/console/ConsoleCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/ConsoleCommand.h')
-rw-r--r--src/console/ConsoleCommand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/console/ConsoleCommand.h b/src/console/ConsoleCommand.h
index f6f91a3..a40a688 100644
--- a/src/console/ConsoleCommand.h
+++ b/src/console/ConsoleCommand.h
@@ -19,6 +19,11 @@ public:
std::string Command;
int ReturnStatus;
std::string ReturnValue;
+
+ operator std::string() const
+ {
+ return Command;
+ }
};