Skip to content

Commit

Permalink
deplacement des textes dans text.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sl4shme committed Oct 16, 2013
1 parent 6be4bcb commit 39eaea7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
1 change: 0 additions & 1 deletion bugReport
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#ajouter un option pour autoriser les connections uniquement depuis TOR
#ne pas afficher les chat commencant par / car ceci est souvent une commande rate
13 changes: 10 additions & 3 deletions key/key.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
#!/usr/bin/python
import os, re, signal

def cleanQuit(signum, frame):
def cleanQuit(signum="", frame=""):
Print "Bye !"
quit()

signal.signal(signal.SIGINT, cleanQuit)

print "This isn't even the pre-pre-alpha phase, please don't attack this server."







print "This is an alpha version, please don't attack this server."
ok=False
while ok == False :
print "Paste your one-line ssh publikey (RSA 2048 bits or DSA):"
Expand Down Expand Up @@ -46,4 +53,4 @@ def cleanQuit(signum, frame):
print "Please remember that this service comes with NO FUCKING GUARANTEE"
print "\nEnter to quit."
raw_input()
quit()
cleanQuit()
6 changes: 2 additions & 4 deletions sschat.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/python
import minion, screen, signal, help, re, time, socket, threading, crypt
import minion, screen, signal, text, re, time, socket, threading, crypt

class Sschat:
def __init__(self, channel="", nickname=""):
Expand Down Expand Up @@ -93,7 +93,7 @@ def command(self, mess):
args = mess.split(" ")[1:]
if cmd == "clear":
self.screen.clearConvers()
elif cmd == "help":
elif cmd == "text.help":
self.screen.scrollPrinter(help.help)
elif cmd == "encrypt" and len(args) == 1:
if args[0] == "on" and self.minion.encrypt == False:
Expand Down Expand Up @@ -164,8 +164,6 @@ def command(self, mess):
self.screen.history.clear()
elif args[0] == "clear":
self.screen.history.clear()
else:
self.screen.printMessage("/"+mess)

chat=Sschat()
while 1 :
Expand Down
File renamed without changes.

0 comments on commit 39eaea7

Please sign in to comment.