summaryrefslogtreecommitdiff
path: root/src/map/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/chat.c')
-rw-r--r--src/map/chat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/chat.c b/src/map/chat.c
index 9c67e0f44..a232781ca 100644
--- a/src/map/chat.c
+++ b/src/map/chat.c
@@ -9,7 +9,7 @@
#include <stdio.h>
#include <string.h>
-#include "atcommand.h" // msg_txt()
+#include "atcommand.h" // msg_sd(sd,)
#include "battle.h" // struct battle_config
#include "clif.h"
#include "map.h"
@@ -84,12 +84,12 @@ bool chat_createpcchat(struct map_session_data* sd, const char* title, const cha
}
if( map->list[sd->bl.m].flag.nochat ) {
- clif->message(sd->fd, msg_txt(281));
+ clif->message(sd->fd, msg_sd(sd,281));
return false; //Can't create chatrooms on this map.
}
if( map->getcell(sd->bl.m,sd->bl.x,sd->bl.y,CELL_CHKNOCHAT) ) {
- clif->message (sd->fd, msg_txt(865)); // "Can't create chat rooms in this area."
+ clif->message (sd->fd, msg_sd(sd,865)); // "Can't create chat rooms in this area."
return false;
}