summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-03-06 11:26:59 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-03-06 11:26:59 -0800
commit66d869880748632825ed57b3b94f0714664424ad (patch)
tree5d0bb881fb8e62bf3a36abe43b07897aa4884b5e
parentfb97f35adeef33ad17061bffaed57842d9ceda47 (diff)
downloadtmwa-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.cpp2
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
}