summaryrefslogtreecommitdiff
path: root/src/map/charcommand.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-04 15:31:02 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-04 15:31:02 +0000
commit65ee11a599f904bdece45c55dd41eb2633da575f (patch)
tree2d21ba1f69d0a04dcc1c0b12cdabc2a087654529 /src/map/charcommand.c
parent4db605380fc8414ad82a6d2ef51f67789932005a (diff)
downloadhercules-65ee11a599f904bdece45c55dd41eb2633da575f.tar.gz
hercules-65ee11a599f904bdece45c55dd41eb2633da575f.tar.bz2
hercules-65ee11a599f904bdece45c55dd41eb2633da575f.tar.xz
hercules-65ee11a599f904bdece45c55dd41eb2633da575f.zip
* Removed weird mvp reward item drop behavior (see topic:160077)
* Fixed Cart Revolution not transferring status effects on attack, and Cart Termination doing it when it shouldn't (see topic:156745) * Fixed #refine not accepting names with spaces in them * Fixed disguises not doing sit-down properly (missing self packet), broken since r6299 stable / r5833 trunk * Added missing /blackmith packet action to packet_db.txt * Removed "eathena's custom equipped mobs" from mob&skill db git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10946 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/charcommand.c')
-rw-r--r--src/map/charcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/charcommand.c b/src/map/charcommand.c
index 7f0f9b089..bfd41f346 100644
--- a/src/map/charcommand.c
+++ b/src/map/charcommand.c
@@ -2381,7 +2381,7 @@ int charcommand_refine(const int fd, struct map_session_data* sd, const char* co
char output[200];
struct map_session_data *pl_sd;
- if (!message || !*message || sscanf(message, "%d %d %s", &position, &refine, character) < 3) {
+ if (!message || !*message || sscanf(message, "%d %d %23[^\n]", &position, &refine, character) < 3) {
clif_displaymessage(fd, "Please, enter a position and a amount (usage: #refine <equip position> <+/- amount> <player>).");
sprintf(output, "%d: Left Accessory", EQI_ACC_L);
clif_displaymessage(fd, output);