Allow command removal

This commit is contained in:
Robert Gerus 2014-03-25 07:19:40 +01:00
parent 14b64e632d
commit 823ed51161

View file

@ -19,6 +19,10 @@ class Repost
} }
end end
def unregister_command(keyword)
self.commands.delete_if { |item| item[:keyword] == keyword }
end
# just a stub for now # just a stub for now
def access_level(user, target) def access_level(user, target)
99 99