remove config save, its unnecessary

This commit is contained in:
Evert Prants 2021-10-02 12:32:56 +03:00
parent 22a1f2c1fa
commit b90cca7a12
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
3 changed files with 4 additions and 5 deletions

View File

@ -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": []
}

View File

@ -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));
}
}
}

View File

@ -3,7 +3,7 @@
"plugins": [
{
"name": "irc",
"version": "1.1.2"
"version": "1.1.3"
},
{
"name": "ircprototest",