Page MenuHomeDevCentral

D3396.id8759.diff
No OneTemporary

D3396.id8759.diff

diff --git a/Core.tcl b/Core.tcl
--- a/Core.tcl
+++ b/Core.tcl
@@ -885,7 +885,7 @@
}
###
-### IP helper procedures
+### IP helper procedures
###
# Extracts an IP address from a Freenode cloak
@@ -905,7 +905,7 @@
}
# Extracts an IP or hostname from an IRC host
-# If the host is a cloak not parseable, returns "".
+# If the host is a cloak not parseable, returns "".
proc extract_addr {host} {
if {[string first / $host] > -1} {
return [extract_addr_from_cloak $host]
diff --git a/Daeghrefn/Wikimedia.tcl b/Daeghrefn/Wikimedia.tcl
--- a/Daeghrefn/Wikimedia.tcl
+++ b/Daeghrefn/Wikimedia.tcl
@@ -22,7 +22,7 @@
}
# Determines if the specified handle on the specified channel
-# is allowed to run a Wikidata comamnd.
+# is allowed to run a Wikidata comamnd.
proc areWikidataCommandsAllowed {chan handle} {
if {[matchattr $handle D]} {
return 1
@@ -58,7 +58,7 @@
}
# Creates a surname
-# @param $title the item title
+# @param $title the item title
# @param $state the state to pass to the create command callback (here with a mode and a target to print result)
proc create_surname {title state} {
run_command "[get_external_script create_surname] [posix_escape $title]" print_command_callback print_python_error_callback $state
@@ -134,15 +134,15 @@
}
# Creates a given name
-# @param $title the item title
+# @param $title the item title
# @param $state the state to pass to the create command callback (here with a mode and a target to print result)
proc create_givenname {title genre state} {
run_command "[get_external_script create_given_name] [posix_escape $title] $genre" print_command_callback print_python_error_callback $state
}
# Determines if the specified title is suitable to pass as shell argument
-# @param $title The title to check
-# @return 0 is the title is acceptable; otherwise, false.
+# @param $title The title to check
+# @return 0 is the title is acceptable; otherwise, false.
proc isAcceptableItemTitle {title} {
set re {[A-Za-z \-']}
foreach char [split $title {}] {
diff --git a/Wearg/Broker.tcl b/Wearg/Broker.tcl
--- a/Wearg/Broker.tcl
+++ b/Wearg/Broker.tcl
@@ -31,7 +31,7 @@
# Determines if we're in a risk to receive a SIGCHLD while the broker intercepts signals
#
# @param time The specified unixtime, or the current one if omitted
- # @return 1 if the risk is there, 0 if it shouldn't be risky
+ # @return 1 if the risk is there, 0 if it shouldn't be risky
proc near_SIGCHLD_arrival {{time ""}} {
if {$time == ""} {
set time [clock seconds]
@@ -44,7 +44,7 @@
if {![near_SIGCHLD_arrival]} {
# We generally want to get messages, but not
# when the SIGCHLD signal is sent to the bot
- # which seems to be every five minutes.
+ # which seems to be every five minutes.
get_messages
}
diff --git a/vendor/README.md b/vendor/README.md
--- a/vendor/README.md
+++ b/vendor/README.md
@@ -6,7 +6,7 @@
These are 3rd party scripts we import as is.
-### Licensing
+### Licensing
These scripts don't follow our BSD-2-Clause licensing,
but are shipped under their own license.

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 07:07 (16 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2249065
Default Alt Text
D3396.id8759.diff (3 KB)

Event Timeline