Changeset 81

Show
Ignore:
Timestamp:
09/04/08 15:43:07 (4 months ago)
Author:
scott
Message:

Disabled awkdoc since it's broken, minor fix for new version of mysql

Location:
trunk/awkbot/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/awkbot/src/awkbot.awk

    r59 r81  
    188188 
    189189    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#       } 
    196198    } 
    197199    else if (arg[1] == "awkinfo") { 
  • trunk/awkbot/src/awkpaste.awk

    r63 r81  
    2020            link    = sprintf("%s?id=%d", config("paste.cgi"), id) 
    2121 
    22             gsub(/\r\\n/, "\n", content) # CRLF to LF 
     22            gsub(/\\r\\n|\\n/, "\n", content) # CRLF to LF 
    2323# This should be dealt with in mysql.awk 
    2424#           gsub(/\\t/,   "\t", context) # Outcoming tabs.