Fixed item script for Glorious Holy Avenger. (bugreport:9244)
http://rathena.org/board/tracker/issue-9244-9-glorious-holy-avenger/ Script command 'preg_match' will throw a debug instead of an error if PCRE is not enabled. Signed-off-by: Euphy <euphy.raliel@rathena.org>
This commit is contained in:
@@ -19093,9 +19093,9 @@ BUILDIN_FUNC(preg_match) {
|
||||
|
||||
return SCRIPT_CMD_SUCCESS;
|
||||
#else
|
||||
ShowError("script:preg_match: cannot run without PCRE library enabled.\n");
|
||||
ShowDebug("script:preg_match: cannot run without PCRE library enabled.\n");
|
||||
script_pushint(st,0);
|
||||
return SCRIPT_CMD_FAILURE;
|
||||
return SCRIPT_CMD_SUCCESS;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user