Skip to content

Commit 55b7c81

Browse files
committed
common: if something isn't deprecated yet, it's always ok.
Signed-off-by: Rusty Russell <[email protected]>
1 parent b6ca95a commit 55b7c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/deprecation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ bool deprecated_ok_(bool deprecated_apis,
115115
level = deprecation(start, end);
116116
switch (level) {
117117
case DEPRECATED_SOON:
118-
return false;
118+
return true;
119119
case DEPRECATED:
120120
/* Complain if we're disallowing becuase it's deprecated */
121121
allow = deprecated_apis;

0 commit comments

Comments
 (0)