Changeset 81
- Timestamp:
- 09/04/08 15:43:07 (4 months ago)
- Location:
- trunk/awkbot/src
- Files:
-
- 2 modified
-
awkbot.awk (modified) (1 diff)
-
awkpaste.awk (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/awkbot/src/awkbot.awk
r59 r81 188 188 189 189 if (arg[1] == "awkdoc") { 190 if (arg[2]) { 191 irc_privmsg(target, address awkdoc(arg[2])) 192 } 193 else { 194 irc_privmsg(target, address "Usage is awkdoc < identifier >") 195 } 190 irc_privmsg(target, address "awkdoc is temporarily disabled") 191 192 # if (arg[2]) { 193 # irc_privmsg(target, address awkdoc(arg[2])) 194 # } 195 # else { 196 # irc_privmsg(target, address "Usage is awkdoc < identifier >") 197 # } 196 198 } 197 199 else if (arg[1] == "awkinfo") { -
trunk/awkbot/src/awkpaste.awk
r63 r81 20 20 link = sprintf("%s?id=%d", config("paste.cgi"), id) 21 21 22 gsub(/\ r\\n/, "\n", content) # CRLF to LF22 gsub(/\\r\\n|\\n/, "\n", content) # CRLF to LF 23 23 # This should be dealt with in mysql.awk 24 24 # gsub(/\\t/, "\t", context) # Outcoming tabs.