summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-11-24 15:41:31 -0800
committerelijah <elijah@riseup.net>2014-11-24 15:41:31 -0800
commite99a9ec4582357f22fbdbc222edbe92ef6da6e72 (patch)
tree14278984d8207093d64e9db548269af1c649a8a9 /lib
parent1b4a0769f5ce4708758c10952370cb06cc2201e9 (diff)
add a sleep to restart. appears to finally resolve https://leap.se/code/issues/3526
Diffstat (limited to 'lib')
-rw-r--r--lib/nickserver/daemon.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/nickserver/daemon.rb b/lib/nickserver/daemon.rb
index 9a50e36..36fe581 100644
--- a/lib/nickserver/daemon.rb
+++ b/lib/nickserver/daemon.rb
@@ -267,6 +267,7 @@ module Nickserver
def command_restart(&block)
command_stop
+ sleep(0.5)
command_start(&block)
end