2015-01-13 12:28:05 +00:00
|
|
|
#!/bin/python
|
|
|
|
#
|
|
|
|
# Cryptonote tipbot - user
|
|
|
|
# Copyright 2015 moneromooo
|
|
|
|
#
|
|
|
|
# The Cryptonote tipbot is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License as published
|
|
|
|
# by the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
# any later version.
|
|
|
|
#
|
|
|
|
|
|
|
|
class User:
|
2016-08-05 15:43:00 +00:00
|
|
|
def __init__(self,network,nick,ident=None):
|
2015-01-13 12:28:05 +00:00
|
|
|
self.network=network
|
|
|
|
self.nick=nick
|
2016-08-05 15:43:00 +00:00
|
|
|
self.ident=ident
|
2015-01-13 12:28:05 +00:00
|
|
|
|
|
|
|
def check_registered(self):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def is_registered(self):
|
|
|
|
if not self.registered:
|
|
|
|
self.check_registered()
|
|
|
|
return self.registered
|
|
|
|
|