Skip to content

Commit

Permalink
fix admin macros for usage in strings and config (#1048)
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 committed Feb 8, 2019
1 parent b580954 commit 573cfdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/main/script_macros_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1740,7 +1740,7 @@ Macro: IS_ADMIN
Author:
commy2
------------------------------------------- */
#define IS_ADMIN serverCommandAvailable "#kick"
#define IS_ADMIN serverCommandAvailable '#kick'

/* -------------------------------------------
Macro: IS_ADMIN_LOGGED
Expand All @@ -1760,7 +1760,7 @@ Macro: IS_ADMIN_LOGGED
Author:
commy2
------------------------------------------- */
#define IS_ADMIN_LOGGED serverCommandAvailable "#shutdown"
#define IS_ADMIN_LOGGED serverCommandAvailable '#shutdown'

/* -------------------------------------------
Macro: FILE_EXISTS
Expand Down

0 comments on commit 573cfdd

Please sign in to comment.