if public == 0:
conn.notice(nick, str(gsearch))
else: # we haven't found anything.
if public == 0:
conn.notice(nick, str(gsearch))
else: # we haven't found anything.
except IOError: # if the connection times out. This blocks. :(
if public == 0:
conn,notice(nick, "The web's broken. Waah!")
else:
except IOError: # if the connection times out. This blocks. :(
if public == 0:
conn,notice(nick, "The web's broken. Waah!")
else:
# General query handler
def do_command(self, nick, cmd, public=0):
# General query handler
def do_command(self, nick, cmd, public=0):