diff options
Diffstat (limited to 'bouncer/window.cpp')
-rw-r--r-- | bouncer/window.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bouncer/window.cpp b/bouncer/window.cpp index dbfe3b5..98f0418 100644 --- a/bouncer/window.cpp +++ b/bouncer/window.cpp @@ -39,6 +39,10 @@ void Window::pushMessage(const char *str) { } } +void Window::handleUserClosed() { + // Do nothing. (For now?) +} + @@ -591,6 +595,11 @@ int Query::getType() const { return 3; } + +void Query::handleUserClosed() { + server->deleteQuery(this); +} + void Query::handleUserInput(const char *str) { char msgBuf[16384]; |