summaryrefslogtreecommitdiff
path: root/src/modules/modTeleport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/modTeleport.c')
-rw-r--r--src/modules/modTeleport.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/modules/modTeleport.c b/src/modules/modTeleport.c
index e6c9deb..b7ca273 100644
--- a/src/modules/modTeleport.c
+++ b/src/modules/modTeleport.c
@@ -336,8 +336,9 @@ static int isConflict(int x, int y, int w, int h)
static void cmdArena(char *line)
{
- if (strncmp(line, "teleport", 8) == 0)
+ if (strncmp(line, "teleport", 8) == 0) {
cmd_teleport(line);
+ }
}
static void recvMsg(char *msg)
@@ -358,12 +359,12 @@ static int destroy()
mod_sym_t modteleport_sym = { &init,
#ifndef PUBLIC_SERVER
- &draw,
+ &draw,
#else
- 0,
+ 0,
#endif
&event,
&isConflict,
&cmdArena,
&recvMsg,
- &destroy }; \ No newline at end of file
+ &destroy };