     project = msg.match[1]
     phab.getPermission(msg.envelope.user, 'phadmin')
     .then ->
-      if data.projects[project]?
-        delete data.projects[project]
-        for alias, proj of data.aliases
-          delete data.aliases[alias] if proj is project
+      if phab.data.projects[project]?
+        delete phab.data.projects[project]
+        for alias, proj of phab.data.aliases
+          delete phab.data.aliases[alias] if proj is project
         msg.send "#{project} erased from memory."
       else
         msg.send "#{project} not found in memory."

        fullname = "#{proj.data.parent}/#{proj.data.name}"
      else
        fullname = proj.data.name
      data.projects[fullname].feeds ?= [ ]
      if room in data.projects[fullname].feeds
        msg.send "The feed from '#{fullname}' to '#{room}' already exist."
      else
        data.projects[fullname].feeds.push room
        msg.send "Ok, '#{fullname}' is now feeding '#{room}'."
    .catch (e) ->
      msg.send e.message or e

    .then ->
      phab.getProject('*')
    .then (proj) ->
      phab.data.projects['*'].feeds ?= [ ]
      if room in phab.data.projects['*'].feeds
        msg.send "The catchall feed to '#{room}' already exist."
      else
        phab.data.projects['*'].feeds.push room
        msg.send "Ok, all feeds will be announced on '#{room}'."
    .catch (e) ->
      msg.send e.message or e
