diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/commands.cpp | 13 | ||||
-rw-r--r-- | src/actions/commands.h | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 812a9fa63..337174c25 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1049,4 +1049,17 @@ impHandler(serverConfGet) return true; } +impHandler(slide) +{ + int x = 0; + int y = 0; + + if (adminHandler && parse2Int(event.args, x, y)) + { + adminHandler->slide(x, y); + return true; + } + return false; +} + } // namespace Actions diff --git a/src/actions/commands.h b/src/actions/commands.h index 3c8459a9d..c3102b8c0 100644 --- a/src/actions/commands.h +++ b/src/actions/commands.h @@ -89,6 +89,7 @@ namespace Actions decHandler(serverConfSet); decHandler(confGet); decHandler(serverConfGet); + decHandler(slide); } // namespace Actions #undef decHandler |