Skip to content

Commit

Permalink
Delete after leaving channels
Browse files Browse the repository at this point in the history
  • Loading branch information
instafluff committed Dec 15, 2018
1 parent dbb8e7b commit bc68af9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions command.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ add( [ "languagecensor", "langcensor" ],
add( [ "languagestop", "langstop", "languageleave", "langleave" ],
( { channels, store, client }, channelName, channelConfig ) => {
delete channelConfig;
delete channels[ channelName ];
store.put( "channels", channels );
client.say( channelName, "Goodbye!!!" );
client.part( channelName );
Expand Down

0 comments on commit bc68af9

Please sign in to comment.