-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Be more intelligent on updating account data on some networks
- Loading branch information
Showing
2 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,6 +88,11 @@ def supports_release(self): | |
def supports_ghost(self): | ||
return bool(self.ghost) | ||
|
||
# supports changing account after one is already logged in | ||
# (we assume one is always able to log in if not currently authed) | ||
def supports_account_change(self): | ||
return True | ||
|
||
class Services_Anope(Services_Base): | ||
name = "anope" | ||
nickserv = "NickServ" | ||
|
@@ -118,3 +123,6 @@ class Services_Undernet(Services_Base): | |
name = "undernet" | ||
nickserv = "[email protected]" | ||
command = "LOGIN {account} {password}" | ||
|
||
def supports_account_change(self): | ||
return False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters