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