Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F10504364
D391.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D391.diff
View Options
diff --git a/Core.tcl b/Core.tcl
--- a/Core.tcl
+++ b/Core.tcl
@@ -222,14 +222,19 @@
}
"delete" {
- set sql "DELETE FROM registry WHERE `data` = '$key'"
- putdebug $sql
- sql $sql
+ sql "DELETE FROM registry WHERE `data` = '$key'"
}
"incr" {
+ if {$value == ""} {
+ set term 1
+ } elseif {[string is integer $value]} {
+ set term $value
+ } {
+ error "The increment term must be an integer."
+ }
+
set current [registry get $key]
- if {$value == ""} {set term 1}
if {$current == ""} {
registry set $key $term
} {
diff --git a/Daeghrefn/Channel.tcl b/Daeghrefn/Channel.tcl
--- a/Daeghrefn/Channel.tcl
+++ b/Daeghrefn/Channel.tcl
@@ -35,8 +35,8 @@
#Prints video information on the channel
#if it's not already in $text
set info [url:getvideotitle $url]
- if {[string first $info $text] == -1} {
- putserv "PRIVMSG $channel :$info"
+ if {[string length [string trim $info]] > 0 && [string first $info $text] == -1} {
+ putserv "PRIVMSG $channel :\[Vid\] $info"
}
}
}
diff --git a/Wearg/Notifications.tcl b/Wearg/Notifications.tcl
--- a/Wearg/Notifications.tcl
+++ b/Wearg/Notifications.tcl
@@ -73,12 +73,16 @@
if {$project == "Wolfplex"} {
return "#wolfplex"
}
+ if {$project == "Keruald"} {
+ return "#nasqueron-logs"
+ }
if {$project == "Nasqueron"} {
switch $group {
tasacora { return "#tasacora" }
- docker { return "#nasqueron-ops-logs" }
- ops { return "#nasqueron-ops-logs" }
+ docker { return "#nasqueron-ops" }
+ ops { return "#nasqueron-ops" }
orgz { return "#nasqueron-ops" }
+ devtools { return "#nasqueron-logs" }
nasqueron { return "#nasqueron-logs" }
default {
putdebug "Message for unknown group: $project $group"
@@ -100,11 +104,6 @@
append message " — $link"
}
- if {$service == "Phabricator" || $type == "push" || $type == "ping" || $type == "repository" || $type == "create" || $type == "status"} {
- putquick "PRIVMSG $channel :$message"
- } {
- # These probably need some love on the notifications center
- putdebug "Message for $channel: $message (service: $service, type: $type)"
- }
+ putquick "PRIVMSG $channel :$message"
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 10, 12:50 (18 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2806882
Default Alt Text
D391.diff (2 KB)
Attached To
Mode
D391: Import commits from Mercurial
Attached
Detach File
Event Timeline
Log In to Comment