mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Ask first before calling getpass.
This commit is contained in:
parent
de81be01ff
commit
8a850e7f64
@ -323,8 +323,8 @@ def main():
|
|||||||
public servers don't. If you try to connect to a server and for some
|
public servers don't. If you try to connect to a server and for some
|
||||||
reason it just won't work, it might be that you need to set a
|
reason it just won't work, it might be that you need to set a
|
||||||
password.""")
|
password.""")
|
||||||
serverpassword = getpass('What password? If you decided not to use '
|
if yn('Do you want to set such a password?') == 'y':
|
||||||
'a password, just press enter. ')
|
serverpassword = getpass()
|
||||||
|
|
||||||
myPrint("""Of course, having an IRC bot isn't the most useful thing in the
|
myPrint("""Of course, having an IRC bot isn't the most useful thing in the
|
||||||
world unless you can make that bot join some channels.""")
|
world unless you can make that bot join some channels.""")
|
||||||
|
Loading…
Reference in New Issue
Block a user