Fix for IrcObjectProxy.error not accepting a Raise argument.

This commit is contained in:
Jeremy Fincher 2004-08-23 19:59:49 +00:00
parent 50d0b8bd85
commit c5a4972cc8

View File

@ -750,7 +750,8 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
(network, server) = privmsgs.getArgs(args, optional=1) (network, server) = privmsgs.getArgs(args, optional=1)
for otherIrc in world.ircs: for otherIrc in world.ircs:
if otherIrc.network == network: if otherIrc.network == network:
irc.error('I\'m already connected to %s.' % network,Raise=True) irc.error('I\'m already connected to %s.' % network)
return
if server: if server:
if ':' in server: if ':' in server:
(server, port) = server.split(':') (server, port) = server.split(':')