Bugfix
This commit is contained in:
parent
0a896dce38
commit
89cf8007ad
@ -61,7 +61,7 @@ public class DefaultBotSession implements BotSession {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void start() {
|
public void start() {
|
||||||
if (running.compareAndSet(false, true)) {
|
if (!running.compareAndSet(false, true)) {
|
||||||
throw new IllegalStateException("Session already running");
|
throw new IllegalStateException("Session already running");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user