diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-03-06 11:26:59 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-03-06 11:26:59 -0800 |
commit | 66d869880748632825ed57b3b94f0714664424ad (patch) | |
tree | 5d0bb881fb8e62bf3a36abe43b07897aa4884b5e | |
parent | fb97f35adeef33ad17061bffaed57842d9ceda47 (diff) | |
download | tmwa-66d869880748632825ed57b3b94f0714664424ad.tar.gz tmwa-66d869880748632825ed57b3b94f0714664424ad.tar.bz2 tmwa-66d869880748632825ed57b3b94f0714664424ad.tar.xz tmwa-66d869880748632825ed57b3b94f0714664424ad.zip |
Fix stupid crash on bad @command
-rw-r--r-- | src/map/atcommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.cpp b/src/map/atcommand.cpp index 6abdfda..116139d 100644 --- a/src/map/atcommand.cpp +++ b/src/map/atcommand.cpp @@ -434,7 +434,7 @@ bool is_atcommand(const int fd, struct map_session_data *sd, if (!info) { std::string output = STRPRINTF("GM command not found: %s", - info->command); + message); clif_displaymessage(fd, output); return true; // don't show in chat } |