Skip to content

Commit

Permalink
Don't put the IRC userlist into the webserver's docroot anymore
Browse files Browse the repository at this point in the history
This was necessary long time ago but today we access it locally and so we can
use a non-public location.
  • Loading branch information
eht16 committed Nov 13, 2013
1 parent fa4025a commit d35d037
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ircbot-plugins/Geany/plugin.py
Expand Up @@ -44,6 +44,7 @@
import supybot.conf as conf


IRC_USERLIST_FILEPATH = '/var/tmp/irc_userlist'
GOODIES = {
'coffee': 'A nice sexy waitress brings %s a big cup of coffee!',
'coke': 'A nice sexy waitress brings %s a cool bottle of coke!',
Expand Down Expand Up @@ -103,7 +104,7 @@ def filter_services(value):
# filter myself and ChanServ
users = filter(filter_services, channel_users)

f = open('/srv/www/irc.geany.org/irc_userlist', 'w')
f = open(IRC_USERLIST_FILEPATH, 'w')
f.write('\n'.join(users))
f.close()

Expand Down

0 comments on commit d35d037

Please sign in to comment.