summaryrefslogtreecommitdiff
path: root/src/map/vending.c
diff options
context:
space:
mode:
authorepuncker <gm.perflex@gmail.com>2016-07-22 11:39:10 -0300
committerepuncker <gm.perflex@gmail.com>2016-07-25 11:49:56 -0300
commit03ce9e5a69b54535ea70b3776004dd7ade7e6134 (patch)
tree1a8ca3b3fb4a8d006d1b09c3146a110787a79ef8 /src/map/vending.c
parent22bf27402936e8c95cc9c50597353da300fe7d6d (diff)
downloadhercules-03ce9e5a69b54535ea70b3776004dd7ade7e6134.tar.gz
hercules-03ce9e5a69b54535ea70b3776004dd7ade7e6134.tar.bz2
hercules-03ce9e5a69b54535ea70b3776004dd7ade7e6134.tar.xz
hercules-03ce9e5a69b54535ea70b3776004dd7ade7e6134.zip
Added a missing entry into messages.conf and added some comments where missing, ref #1282
Diffstat (limited to 'src/map/vending.c')
-rw-r--r--src/map/vending.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/vending.c b/src/map/vending.c
index 3ae1017f8..0eb5e39e2 100644
--- a/src/map/vending.c
+++ b/src/map/vending.c
@@ -74,8 +74,7 @@ void vending_vendinglistreq(struct map_session_data* sd, unsigned int id) {
return; // not vending
if (!pc_can_give_items(sd) || !pc_can_give_items(vsd)) { //check if both GMs are allowed to trade
- // GM is not allowed to trade
- clif->message(sd->fd, msg_sd(sd,246));
+ clif->message(sd->fd, msg_sd(sd,246)); // Your GM level doesn't authorize you to perform this action.
return;
}