2012-08-14 03:51:55 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2014-08-30 17:15:14 +00:00
|
|
|
# Nemubot is a smart and modulable IM bot.
|
2015-01-03 19:17:46 +00:00
|
|
|
# Copyright (C) 2012-2015 Mercier Pierre-Olivier
|
2012-08-14 03:51:55 +00:00
|
|
|
#
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Affero General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Affero General Public License for more details.
|
|
|
|
#
|
|
|
|
# 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/>.
|
|
|
|
|
2012-04-09 02:19:39 +00:00
|
|
|
|
2014-08-30 17:15:14 +00:00
|
|
|
# Lists for select
|
|
|
|
_rlist = []
|
|
|
|
_wlist = []
|
|
|
|
_xlist = []
|
2012-04-09 02:19:39 +00:00
|
|
|
|
2014-11-09 13:11:54 +00:00
|
|
|
|
2015-02-21 12:51:40 +00:00
|
|
|
def reload():
|
|
|
|
import imp
|
2014-10-09 05:39:38 +00:00
|
|
|
|
2015-02-21 12:51:40 +00:00
|
|
|
import nemubot.server.abstract
|
|
|
|
imp.reload(nemubot.server.abstract)
|
2014-10-09 05:39:38 +00:00
|
|
|
|
2015-01-03 19:17:46 +00:00
|
|
|
import nemubot.server.socket
|
|
|
|
imp.reload(nemubot.server.socket)
|
2014-10-09 05:39:38 +00:00
|
|
|
|
2015-01-03 19:17:46 +00:00
|
|
|
import nemubot.server.IRC
|
|
|
|
imp.reload(nemubot.server.IRC)
|