remove config save, its unnecessary
This commit is contained in:
parent
22a1f2c1fa
commit
b90cca7a12
@ -3,7 +3,7 @@
|
||||
"name": "irc",
|
||||
"description": "IRC Service for Squeebot 3",
|
||||
"tags": ["service", "irc"],
|
||||
"version": "1.1.2",
|
||||
"version": "1.1.3",
|
||||
"dependencies": ["control?"],
|
||||
"npmDependencies": []
|
||||
}
|
||||
|
@ -313,9 +313,8 @@ class IRCServicePlugin extends Plugin {
|
||||
unloadEventHandler(plugin: string | Plugin): void {
|
||||
if (plugin === this.name || plugin === this) {
|
||||
logger.debug('[%s]', this.name, 'shutting down..');
|
||||
this.config.save().then(() =>
|
||||
this.service!.stopAll().then(() =>
|
||||
this.emit('pluginUnloaded', this)));
|
||||
this.emit('pluginUnloaded', this));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,7 +3,7 @@
|
||||
"plugins": [
|
||||
{
|
||||
"name": "irc",
|
||||
"version": "1.1.2"
|
||||
"version": "1.1.3"
|
||||
},
|
||||
{
|
||||
"name": "ircprototest",
|
||||
|
Loading…
Reference in New Issue
Block a user