plugins/opshop.nb
# -*-ruby-*-
#
# Copyright (c) 2004-2005 SASADA Koichi <ko1 at atdot.net>
#
# This program is free software with ABSOLUTELY NO WARRANTY.
# You can re-distribute and/or modify this program under
# the same terms of the Ruby's license.
#
#
# operator shop
#
# $Id$
#
class OpShop < Nadoka::NDK_Bot
def on_join prefix, ch
if prefix.nick != @state.nick
change_mode(ch, "+o", prefix.nick)
end
end
end