     }
     
     mutating func routeMessage(_ myMessage: String, fromBuddy: String, forRoom: Room) {
-        
         let detector = try! NSDataDetector(types: NSTextCheckingResult.CheckingType.link.rawValue)
         let matches = detector.matches(in: myMessage, options: [], range: NSMakeRange(0, myMessage.characters.count))
         let myLowercaseMessage = myMessage.lowercased()
         
+        guard !disabled || myLowercaseMessage == "/enable" else {
+            return
+        }
         
         if myLowercaseMessage.contains("/help") {
             sendDocumentation(myMessage, forRoom: forRoom)

        else if myLowercaseMessage == "/reload" {
            reloadPlugins()
            SendText("Successfully reloaded plugins.", toRoom: forRoom)
        }
        else {
            RootLoop: for aModule in modules {

    var modules:[RoutingModule] = []
    var bundles:[Bundle] = []
    var supportDir: URL?
    var disabled = false
    
    init () {
        let filemanager = FileManager.default
