From a0385ddb1e05c96af324ba25073129655eb4334e Mon Sep 17 00:00:00 2001 From: Michal Zima Date: Fri, 11 Dec 2009 19:23:07 +0100 Subject: We should follow the HandBook --- src/modules/modTeleport.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/modules/modTeleport.c') 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 }; -- cgit v1.2.3