Remove dead or useless code

This commit is contained in:
nemunaire 2015-10-30 21:10:06 +01:00
commit ac33ceb579
41 changed files with 15 additions and 80 deletions

View file

@ -14,7 +14,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from nemubot.hooks.abstract import Abstract
from nemubot.hooks.message import Message
last_registered = []
@ -29,12 +28,12 @@ def hook(store, *args, **kargs):
def reload():
global Abstract, Message
global Message
import imp
import nemubot.hooks.abstract
imp.reload(nemubot.hooks.abstract)
Abstract = nemubot.hooks.abstract.Abstract
import nemubot.hooks.message
imp.reload(nemubot.hooks.message)
Message = nemubot.hooks.message.Message

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
# Nemubot is a smart and modulable IM bot.
# Copyright (C) 2012-2015 Mercier Pierre-Olivier
#